Skip to content

Commit b842f22

Browse files
authored
[test] Fix test_side_module_ignore on windows. NFC (emscripten-core#23601)
This slipped past CI because our windows builder was out of commission at the time when emscripten-core#23593 landed.
1 parent 79bbaa6 commit b842f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_other.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9328,7 +9328,7 @@ def test_side_module_ignore(self):
93289328

93299329
# Attempting to link statically against a side module (libside.so) should fail.
93309330
err = self.expect_fail([EMCC, '-L.', '-lside'])
9331-
self.assertContained('error: attempted static link of dynamic object ./libside.so', err)
9331+
self.assertContained(r'error: attempted static link of dynamic object \.[/\\]libside.so', err, regex=True)
93329332

93339333
# But a static library in the same location (libside.a) should take precedence.
93349334
self.run_process([EMCC, test_file('hello_world.c'), '-c'])

0 commit comments

Comments
 (0)