projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6405fee
)
bpo-33352: Skip test_regrtest test if rt.bat does not exist (GH-6654)
author
Andrés Delfino
<adelfino@gmail.com>
Mon, 30 Apr 2018 16:30:53 +0000
(13:30 -0300)
committer
Victor Stinner
<vstinner@redhat.com>
Mon, 30 Apr 2018 16:30:53 +0000
(18:30 +0200)
Lib/test/test_regrtest.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_regrtest.py
b/Lib/test/test_regrtest.py
index 8364767b3a307dcfd2fecb1ee2a658548793db7a..c40b5182a863d51f08d5202138ef097fdbc9d435 100644
(file)
--- a/
Lib/test/test_regrtest.py
+++ b/
Lib/test/test_regrtest.py
@@
-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