aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-12-31 14:39:16 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-31 14:39:16 -0800
commit387b4f7f37cd6280148f86670ce1b72a39eaf6ca (patch)
tree92d89665df371a2276379d297dce68c7ea9cf1d1
parentf7e8ad550d061bda93884a161a0f923f9c3e83e7 (diff)
fix test_ccall
-rwxr-xr-xtests/runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index e980a969..535f1645 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -6905,7 +6905,7 @@ def process(filename):
open(filename, 'w').write(src)
'''
- Settings.EXPORTED_FUNCTIONS += ['_get_int', '_get_float', '_get_string', '_print_int', '_print_float', '_print_string', '_multi', '_pointer']
+ Settings.EXPORTED_FUNCTIONS += ['_get_int', '_get_float', '_get_string', '_print_int', '_print_float', '_print_string', '_multi', '_pointer', '_malloc']
self.do_run(src, '*\nnumber,5\nnumber,3.14\nstring,hello world\n12\nundefined\n14.56\nundefined\ncheez\nundefined\narr-ay\nundefined\nmore\nnumber,10\n650\nnumber,21\n*\natr\n10\nbret\n53\n*\nstack is ok.\n', post_build=post)