diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-07-12 21:21:16 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-07-12 21:21:16 -0700 |
commit | 1b15a1c44bc4631dc293834bd8f17f61155c3d03 (patch) | |
tree | 7e76f8e6abfaad4d5647f231f35738f0ee848b56 | |
parent | 3b6025a2c41faa2bdbe3dae354d5be439d78e38c (diff) |
fix btest harness bug, python += is not the same as = +
-rwxr-xr-x | tests/runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index ba3fdff2..d10a7c40 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -7849,7 +7849,7 @@ elif 'browser' in str(sys.argv): expected = [str(i) for i in range(0, reference_slack+1)] shutil.copyfile(path_from_root('tests', filename), os.path.join(self.get_dir(), filename)) self.reftest(path_from_root('tests', reference)) - args += ['--pre-js', 'reftest.js'] + args = args + ['--pre-js', 'reftest.js'] Popen(['python', EMCC, os.path.join(self.get_dir(), filename), '-o', 'test.html'] + args).communicate() if type(expected) is str: expected = [expected] self.run_browser('test.html', '.', ['/report_result?' + e for e in expected]) |