Commit c3b7a6df authored by Andrés Delfino's avatar Andrés Delfino Committed by Victor Stinner

bpo-33352: Skip test_regrtest test if rt.bat does not exist (GH-6654)

parent 6405feec
......@@ -594,6 +594,8 @@ class ProgramsTestCase(BaseTestCase):
def test_pcbuild_rt(self):
# PCbuild\rt.bat
script = os.path.join(ROOT_DIR, r'PCbuild\rt.bat')
if not os.path.isfile(script):
self.skipTest(f'File "{script}" does not exist')
rt_args = ["-q"] # Quick, don't run tests twice
if platform.architecture()[0] == '64bit':
rt_args.append('-x64') # 64-bit build
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment