diff --git a/test/test_core.py b/test/test_core.py index ad7d30b0c0072..ac42e5c6b36d3 100644 --- a/test/test_core.py +++ b/test/test_core.py @@ -6130,7 +6130,7 @@ def test_unistd_links(self): self.do_run_in_out_file_test('unistd/links.c') @also_with_noderawfs - @no_windows('TODO: Fails on Windows due to an unknown reason.') + @crossplatform def test_unistd_write_broken_link(self): self.do_run_in_out_file_test('unistd/test_unistd_write_broken_link.c') @@ -8271,7 +8271,7 @@ def test_asyncify_unused(self): 'onlylist_b_response': ([], True, 'main\n__original_main\nfoo(int, double)\nbaz()\nc_baz\nStructy::funcy()\n'), 'onlylist_c_response': ([], False, 'main\n__original_main\nfoo(int, double)\nbaz()\nc_baz\n'), }) - @no_windows("TODO: Fails on Windows due to an unknown reason.") + @crossplatform def test_asyncify_lists(self, args, should_pass, response=None): if response is not None: create_file('response.file', response) diff --git a/test/test_other.py b/test/test_other.py index b762cb12637d9..6f3c183c11579 100644 --- a/test/test_other.py +++ b/test/test_other.py @@ -825,7 +825,7 @@ def test_em_config_filename(self): self.assertContained('LLVM', proc.stdout) self.assertContained('filename myconfig.py', proc.stdout) - @no_windows('This test depends on Linux line endings') + @crossplatform def test_emsize(self): # test binaryen generated by running: # emcc test/hello_world.c -Oz --closure 1 -o test/other/test_emsize.js @@ -1759,7 +1759,7 @@ def test_ungetc_fscanf(self): self.emcc('main.c', ['--embed-file', 'my_test.input'], output_filename='a.out.js') self.assertContained('zyx', self.run_process(config.JS_ENGINES[0] + ['a.out.js'], stdout=PIPE, stderr=PIPE).stdout) - @no_windows('This test is written to work on Linux and macOS only') + @crossplatform def test_abspaths(self): # Includes with absolute paths are generally dangerous, things like -I/usr/.. will get to system # local headers, not our portable ones.