summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-05-05 13:38:52 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-05-05 13:38:52 -0700
commit9b320d995f6cce22557dab207e0e92caac7e3588 (patch)
treee542fb4923dbc585132516dae3a466fdb204f0a5 /tests
parenta4e3a2c456eaaedbef87766da1dcb8b99a95bf52 (diff)
parentbce9b33b73f4c3fb4c31fcf513061c776ed87c2d (diff)
Merge pull request #2336 from juj/run_js_retcode_assert
Run js retcode assert
Diffstat (limited to 'tests')
-rw-r--r--tests/test_other.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_other.py b/tests/test_other.py
index 779335bb..137a83b1 100644
--- a/tests/test_other.py
+++ b/tests/test_other.py
@@ -1891,7 +1891,7 @@ This pointer might make sense in another type signature: i: 0
Popen([PYTHON, EMCC, path_from_root('tests', 'embind', 'embind_test.cpp'), '--post-js', path_from_root('tests', 'embind', 'underscore-1.4.2.js'), '--post-js', path_from_root('tests', 'embind', 'imvu_test_adapter.js'), '--post-js', path_from_root('tests', 'embind', 'embind.test.js')] + args, stderr=PIPE if fail else None).communicate()
assert os.path.exists(self.in_dir('a.out.js')) == (not fail)
if not fail:
- output = run_js(self.in_dir('a.out.js'), stdout=PIPE, stderr=PIPE, full_output=True)
+ output = run_js(self.in_dir('a.out.js'), stdout=PIPE, stderr=PIPE, full_output=True, assert_returncode=0)
assert "FAIL" not in output, output
def test_llvm_nativizer(self):