aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/library.js1
-rw-r--r--tests/test_core.py4
2 files changed, 2 insertions, 3 deletions
diff --git a/src/library.js b/src/library.js
index b25e48ed..48acf6ac 100644
--- a/src/library.js
+++ b/src/library.js
@@ -1190,7 +1190,6 @@ LibraryManager.library = {
_exit: function(status) {
// void _exit(int status);
// http://pubs.opengroup.org/onlinepubs/000095399/functions/exit.html
- Module.print('exit(' + status + ') called');
Module['exit'](status);
},
fork__deps: ['__setErrNo', '$ERRNO_CODES'],
diff --git a/tests/test_core.py b/tests/test_core.py
index 37179ff1..ecd3923e 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -2908,7 +2908,7 @@ Exiting setjmp function, level: 0, prev_jmp: -1
''')
self.emcc_args += ['--pre-js', 'pre.js']
- self.do_run(src, '''reported\nexit(1) called\nExit Status: 1\npostRun\nok.\n''')
+ self.do_run(src, '''reported\nExit Status: 1\npostRun\nok.\n''')
def test_class(self):
src = '''
@@ -10517,7 +10517,7 @@ def process(filename):
Module.callMain();
''')
self.emcc_args += ['-s', 'INVOKE_RUN=0', '--post-js', 'post.js']
- self.do_run(src, 'hello, world!\nexit(118) called\ncleanup\nI see exit status: 118')
+ self.do_run(src, 'hello, world!\ncleanup\nI see exit status: 118')
def test_gc(self):
if self.emcc_args == None: return self.skip('needs ta2')