aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-01-10 10:54:10 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-01-10 10:54:10 -0800
commit60c6395d05545c8fd8ad277b026d79fe4ffdbd38 (patch)
tree28c887e58b89ce079fde29e55eb034e5d3e6952d /tests/runner.py
parenta3c256bf34521cbb250e6a136b2a7c98d1b9b489 (diff)
fix compiling of postrinsic memcpy when in forced c++ mode for the main file
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index ea124c30..24fbee95 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -7992,6 +7992,7 @@ Options that are modified or new in %s include:
# dlmalloc. dlmalloc is special in that it is the only part of libc that is (1) hard to write well, and
# very speed-sensitive. So we do not implement it in JS in library.js, instead we compile it from source
for source, has_malloc in [('hello_world' + suffix, False), ('hello_malloc.cpp', True)]:
+ print source, has_malloc
self.clear()
output = Popen([PYTHON, compiler, path_from_root('tests', source)], stdout=PIPE, stderr=PIPE).communicate()
assert os.path.exists('a.out.js'), '\n'.join(output)