aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-10-03 10:14:45 +0200
committerAlon Zakai <alonzakai@gmail.com>2011-10-03 10:14:45 +0200
commitc48fb0eeeeb5cff860ee8eace7b0e8cebb72c093 (patch)
tree7373cbb05bbd9bf0f38f292a854af64b4eea24b8 /tests
parentc2a8a5b364e6b888c6563af371603eb5ce86c1b5 (diff)
fix test_stat
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 bea7fa6b..c2f6b58e 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -2500,7 +2500,7 @@ if 'benchmark' not in str(sys.argv):
open(filename, 'w').write(src)
src = open(path_from_root('tests', 'stat', 'src.c'), 'r').read()
expected = open(path_from_root('tests', 'stat', 'output.txt'), 'r').read()
- self.do_test(src, expected, post_build=add_pre_run)
+ self.do_test(src, expected, post_build=add_pre_run, extra_emscripten_args=['-H', 'libc/fcntl.h'])
def test_fcntl(self):
def add_pre_run(filename):