aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-14 17:42:35 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-14 17:42:35 -0800
commitbd670b9f4d5f2a041ec30309c1cc869c16bb5e81 (patch)
treeaac8eac5bc88f12e3a6e629d604bb5cbac009171 /tests
parentdf41a405914e60d21262b3fb9ab81a5832bb4405 (diff)
refactor emcc to use a temp directory for intermediate files
Diffstat (limited to 'tests')
-rw-r--r--tests/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index ed3c17a0..236ad659 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -4917,7 +4917,7 @@ Options that are modified or new in %s include:
clear()
output = Popen([compiler, path_from_root('tests', 'hello_world' + suffix)] + args, stdout=PIPE, stderr=PIPE).communicate()
assert len(output[0]) == 0, output[0]
- assert os.path.exists(target), 'Expected %s to exist since args are %s : %s' % (target, str(args), output)
+ assert os.path.exists(target), 'Expected %s to exist since args are %s : %s' % (target, str(args), '\n'.join(output))
self.assertContained('hello, world!', self.run_llvm_interpreter([target]))
# Optimization: emcc src.cpp -o something.js [-Ox]. -O0 is the same as not specifying any optimization setting