aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2013-04-06 21:12:55 +0300
committerJukka Jylänki <jujjyl@gmail.com>2013-04-11 10:42:14 +0300
commit1c4f763de44601a8b5a50fd5f78a8fedd314c131 (patch)
treed6f30313cdd557b0825de81f9b5d03465faeb1e9 /tests
parentbc234c204c0a1d6d02363e9a60418dd52a6c3c87 (diff)
Extend the use of response files to cover the case when emcc invokes emscripten.py, so that Windows command line length limitations don't break the test_asm_pgo on Windows.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 2865679b..705e96fe 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -8079,11 +8079,11 @@ def process(filename):
shutil.move(self.in_dir('src.cpp.o.js'), self.in_dir('pgo.js'))
pgo_output = run_js(self.in_dir('pgo.js')).split('\n')[1]
- open('pgo_data', 'w').write(pgo_output)
+ open('pgo_data.rsp', 'w').write(pgo_output)
# with response file
- self.emcc_args += ['@pgo_data']
+ self.emcc_args += ['@pgo_data.rsp']
self.do_run(src, output)
self.emcc_args.pop()
shutil.move(self.in_dir('src.cpp.o.js'), self.in_dir('pgoed.js'))