aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-20 15:45:48 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-03-20 15:45:48 -0700
commit187d2517eebb3d92921f9183609f0aa681492f37 (patch)
tree9d8542e4f3c06697e12f2934f2cb4e81abeadb7a /tests
parent6159c4f1565a180999563dc70092f2db2e0b6562 (diff)
remove CATCH_EXIT_CODE and make it the default behavior
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runner.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 168567d2..db33c817 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -2716,7 +2716,6 @@ Exiting setjmp function, level: 0, prev_jmp: -1
if Settings.ASM_JS: return self.skip('uses report_stack without exporting')
Settings.INLINING_LIMIT = 50
- Settings.CATCH_EXIT_CODE = 1
src = r'''
#include <stdio.h>
@@ -2757,7 +2756,7 @@ Exiting setjmp function, level: 0, prev_jmp: -1
''')
self.emcc_args += ['--pre-js', 'pre.js']
- self.do_run(src, '''reported\npostRun\nok.\nExit Status: 1\n''')
+ self.do_run(src, '''reported\nExit Status: 1\npostRun\nok.\n''')
def test_class(self):
src = '''
@@ -8673,8 +8672,6 @@ def process(filename):
Settings.CORRECT_SIGNS = 0
def test_exit_status(self):
- Settings.CATCH_EXIT_CODE = 1
-
src = r'''
#include <stdio.h>
#include <stdlib.h>
@@ -8869,7 +8866,6 @@ class %s(T):
Settings.INCLUDE_FULL_LIBRARY = 0
Settings.BUILD_AS_SHARED_LIB = 0
Settings.RUNTIME_LINKED_LIBS = []
- Settings.CATCH_EXIT_CODE = 0
Settings.EMULATE_UNALIGNED_ACCESSES = int(Settings.USE_TYPED_ARRAYS == 2 and Building.LLVM_OPTS == 2)
Settings.DOUBLE_MODE = 1 if Settings.USE_TYPED_ARRAYS and Building.LLVM_OPTS == 0 else 0
Settings.PRECISE_I64_MATH = 0