diff options
-rwxr-xr-x | emcc | 4 | ||||
-rw-r--r-- | tests/test_core.py | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -1370,7 +1370,7 @@ try: args += ['-o', specified_target] logging.debug("running (for precompiled headers): " + call + ' ' + ' '.join(args)) execute([call] + args) # let compiler frontend print directly, so colors are saved (PIPE kills that) - sys.exit(1) + sys.exit(0) def get_bitcode_file(input_file): if final_suffix not in JS_CONTAINING_SUFFIXES: @@ -1746,7 +1746,7 @@ try: js_optimizer_extra_info['sizeToOutline'] = shared.Settings.OUTLINING_LIMIT if opt_level >= 2 and (not closure or shared.Settings.ASM_JS) and shared.Settings.RELOOP and debug_level < 3: - if shared.Settings.ASM_JS and opt_level >= 3 and shared.Settings.OUTLINING_LIMIT == 0: + if shared.Settings.ASM_JS and opt_level >= 3: js_optimizer_queue += ['registerizeHarder'] else: js_optimizer_queue += ['registerize'] diff --git a/tests/test_core.py b/tests/test_core.py index 1f698687..379559e7 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -3905,6 +3905,8 @@ Pass: 0.000012 0.000012''') self.do_run_from_file(src, output) def test_sscanf_hex(self): + if Settings.USE_TYPED_ARRAYS != 2: return self.skip('requires ta2') + test_path = path_from_root('tests', 'core', 'test_sscanf_hex') src, output = (test_path + s for s in ('.in', '.out')) |