Skip to content

Commit 98d42fa

Browse files
authored
Skip failing lto0 and thinlto0 tests. (#25016)
Skip failing lto0 and thinlto0 tests. #25015
1 parent f59c8af commit 98d42fa

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/test_core.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1908,6 +1908,9 @@ def test_emscripten_get_now(self):
19081908
self.do_runf('test_emscripten_get_now.c', 'Timer resolution is good')
19091909

19101910
def test_emscripten_get_compiler_setting(self):
1911+
if not self.is_optimizing() and ('-flto' in self.cflags or '-flto=thin' in self.cflags):
1912+
self.skipTest('https://github.com/emscripten-core/emscripten/issues/25015')
1913+
19111914
src = test_file('core/emscripten_get_compiler_setting.c')
19121915
output = shared.replace_suffix(src, '.out')
19131916
# with assertions, a nice message is shown
@@ -2722,6 +2725,9 @@ def test_pthread_tls(self):
27222725

27232726
@no_modularize_instance('uses global Module objecgt')
27242727
def test_pthread_run_script(self):
2728+
if not self.is_optimizing() and ('-flto' in self.cflags or '-flto=thin' in self.cflags):
2729+
self.skipTest('https://github.com/emscripten-core/emscripten/issues/25015')
2730+
27252731
shutil.copy(test_file('pthread/foo.js'), '.')
27262732
self.do_runf('pthread/test_pthread_run_script.c')
27272733

@@ -8837,6 +8843,9 @@ def test_minimal_runtime_global_initializer(self):
88378843

88388844
@no_wasm2js('wasm2js does not support PROXY_TO_PTHREAD (custom section support)')
88398845
def test_return_address(self):
8846+
if not self.is_optimizing() and ('-flto' in self.cflags or '-flto=thin' in self.cflags):
8847+
self.skipTest('https://github.com/emscripten-core/emscripten/issues/25015')
8848+
88408849
self.do_runf('core/test_return_address.c', 'passed', cflags=['-g'])
88418850

88428851
@no_wasm2js('TODO: sanitizers in wasm2js')

0 commit comments

Comments
 (0)