Skip to content

Commit 8edacfd

Browse files
committed
expand range of acceptable values for llvm 3.6 on other.test_emterpreter
1 parent c272112 commit 8edacfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_other.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4592,13 +4592,13 @@ def do_log_test(source, expected, func):
45924592
assert expected == seen or (seen in expected if type(expected) in [list, tuple] else False), ['expect', expected, 'but see', seen]
45934593

45944594
do_log_test(path_from_root('tests', 'primes.cpp'), 88, 'main')
4595-
do_log_test(path_from_root('tests', 'fannkuch.cpp'), 237, 'fannkuch_worker')
4595+
do_log_test(path_from_root('tests', 'fannkuch.cpp'), range(237, 240), 'fannkuch_worker')
45964596

45974597
# test non-native as well, registerizeHarder can be a little more efficient here
45984598
old_native = os.environ.get('EMCC_NATIVE_OPTIMIZER')
45994599
try:
46004600
os.environ['EMCC_NATIVE_OPTIMIZER'] = '0'
4601-
do_log_test(path_from_root('tests', 'fannkuch.cpp'), 237, 'fannkuch_worker')
4601+
do_log_test(path_from_root('tests', 'fannkuch.cpp'), range(237, 240), 'fannkuch_worker')
46024602
finally:
46034603
if old_native: os.environ['EMCC_NATIVE_OPTIMIZER'] = old_native
46044604
else: del os.environ['EMCC_NATIVE_OPTIMIZER']

0 commit comments

Comments
 (0)