Skip to content

Commit bd21ed4

Browse files
committed
python: Try fixing Cygwin test failures
1 parent ac5d12a commit bd21ed4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

unittests/allplatformstests.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3131,6 +3131,11 @@ def test_python_build_config_extensions(self):
31313131
os.path.join(self.builddir, 'foo' + EXTENSION_SUFFIX),
31323132
os.path.join(self.builddir, 'foo_stable' + STABLE_ABI_SUFFIX),
31333133
]
3134+
if is_cygwin():
3135+
expected_files += [
3136+
os.path.join(self.builddir, 'foo' + EXTENSION_SUFFIX.replace('.so', '.dll.a')),
3137+
os.path.join(self.builddir, 'foo_stable' + STABLE_ABI_SUFFIX.replace('.so', '.dll.a')),
3138+
]
31343139

31353140
for extra_args in (
31363141
['--python.build-config', python_build_config_file.name],

0 commit comments

Comments
 (0)