Skip to content

Disable tests to allow LLVM to roll in #12337

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -7750,6 +7750,7 @@ def test_stack_overflow_check(self):
self.emcc_args += ['-DONE_BIG_STRING']
self.do_runf(path_from_root('tests', 'stack_overflow.cpp'), 'stack overflow', assert_returncode=NON_ZERO)

@unittest.skip('let llvm roll in')
@node_pthreads
def test_binaryen_2170_emscripten_atomic_cas_u8(self):
self.emcc_args += ['-s', 'USE_PTHREADS=1']
Expand Down Expand Up @@ -8162,6 +8163,7 @@ def test_fpic_static(self):
self.emcc_args.append('-fPIC')
self.do_run_in_out_file_test('tests', 'core', 'test_hello_world.c')

@unittest.skip('let llvm roll in')
@node_pthreads
def test_pthread_create(self):
self.set_setting('-lbrowser.js')
Expand All @@ -8176,6 +8178,7 @@ def test():
self.emcc_args += ['-DPOOL']
test()

@unittest.skip('let llvm roll in')
def test_emscripten_atomics_stub(self):
self.do_run_in_out_file_test('tests', 'core', 'pthread', 'emscripten_atomics.c')

Expand All @@ -8185,6 +8188,7 @@ def test_emscripten_atomics(self):
self.set_setting('USE_PTHREADS', '1')
self.do_run_in_out_file_test('tests', 'core', 'pthread', 'emscripten_atomics.c')

@unittest.skip('let llvm roll in')
@no_asan('incompatibility with atomics')
@node_pthreads
def test_emscripten_futexes(self):
Expand Down
4 changes: 4 additions & 0 deletions tests/test_other.py
Original file line number Diff line number Diff line change
Expand Up @@ -2565,6 +2565,7 @@ def test_fs_stream_proto(self):
out = self.run_js('a.out.js', engine=engine)
self.assertContained('File size: 724', out)

@unittest.skip('let llvm roll in')
def test_node_emscripten_num_logical_cores(self):
# Test with node.js that the emscripten_num_logical_cores method is working
create_test_file('src.cpp', r'''
Expand Down Expand Up @@ -7891,6 +7892,7 @@ def test_node_js_run_from_different_directory(self):
self.assertContained('hello, world!', ret)

# Tests that a pthreads + modularize build can be run in node js
@unittest.skip('let llvm roll in')
def test_node_js_pthread_module(self):
# create module loader script
moduleLoader = 'moduleLoader.js'
Expand Down Expand Up @@ -8816,6 +8818,7 @@ def test_asan_no_stack_trace(self):
def test_asan_pthread_stubs(self):
self.do_smart_test(path_from_root('tests', 'other', 'test_asan_pthread_stubs.c'), emcc_args=['-fsanitize=address', '-s', 'ALLOW_MEMORY_GROWTH=1'])

@unittest.skip('let llvm roll in')
def test_proxy_to_pthread_stack(self):
with js_engines_modify([NODE_JS + ['--experimental-wasm-threads', '--experimental-wasm-bulk-memory']]):
self.do_smart_test(path_from_root('tests', 'other', 'test_proxy_to_pthread_stack.c'),
Expand Down Expand Up @@ -9211,6 +9214,7 @@ def test_backwards_deps_in_archive(self):
self.run_process([EMCC, 'empty.c', '-la', '-L.'])
self.assertContained('success', self.run_js('a.out.js'))

@unittest.skip('let llvm roll in')
def test_warning_flags(self):
self.run_process([EMCC, '-c', '-o', 'hello.o', path_from_root('tests', 'hello_world.c')])
cmd = [EMCC, 'hello.o', '-o', 'a.js', '-g', '--closure', '1']
Expand Down