Skip to content

Commit f02c282

Browse files
committed
python: Try fixing Cygwin test failures
1 parent 90a7185 commit f02c282

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
@@ -3057,6 +3057,11 @@ def test_python_build_config_extensions(self):
30573057
os.path.join(self.builddir, 'foo' + EXTENSION_SUFFIX),
30583058
os.path.join(self.builddir, 'foo_stable' + STABLE_ABI_SUFFIX),
30593059
]
3060+
if is_cygwin():
3061+
expected_files += [
3062+
os.path.join(self.builddir, 'foo' + EXTENSION_SUFFIX.replace('.so', '.dll.a')),
3063+
os.path.join(self.builddir, 'foo_stable' + STABLE_ABI_SUFFIX.replace('.so', '.dll.a')),
3064+
]
30603065

30613066
for extra_args in (
30623067
['--python.build-config', python_build_config_file.name],

0 commit comments

Comments
 (0)