diff options
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py index 9afc36d3..7a8ccf6f 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -10611,6 +10611,7 @@ f.close() def test_static_link(self): def test(main, side, first=True): + #t = main ; main = side ; side = t open(os.path.join(self.get_dir(), 'main.cpp'), 'w').write(main) open(os.path.join(self.get_dir(), 'side.cpp'), 'w').write(side) Popen([PYTHON, EMCC, os.path.join(self.get_dir(), 'side.cpp'), '-o', 'side.js', '-s', 'SIDE_MODULE=1', '-O2']).communicate() @@ -10621,6 +10622,7 @@ f.close() out = run_js('together.js', engine=SPIDERMONKEY_ENGINE, stderr=PIPE, full_output=True) self.assertContained('side says 11.', out) self.validate_asmjs(out) + #if first: test(side, main, False) # test reverse order test(''' #include <stdio.h> |