aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-07-01 12:35:41 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-03 15:31:04 -0700
commit4f9dfa2025f92130036dc7ca83ea91ebc8275e89 (patch)
tree718f83dce127769cecd66791035dcb6f81d2ba83 /tests/runner.py
parenta98a8a9c8fce394c184510dc07b45179d95bc071 (diff)
refactor linking of imports
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index b0d86c6a..5737a298 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -10624,7 +10624,9 @@ f.close()
out = run_js('together.js', engine=SPIDERMONKEY_ENGINE, stderr=PIPE, full_output=True)
self.assertContained(expected, out)
self.validate_asmjs(out)
- if first: test(name + ' (reverse)', header, side, main, expected, False) # test reverse order
+ if first:
+ shutil.copyfile('together.js', 'first.js')
+ test(name + ' (reverse)', header, side, main, expected, False) # test reverse order
# test a simple call from one module to another. only one has a string (and constant memory initialization for it)
test('basics', '', '''