diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-04 10:04:26 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-04 10:04:26 -0800 |
commit | 5a8181a0adba87535ae01b2044d0dbf90e7586c9 (patch) | |
tree | 90f6b08c145acd09ac72b8e14c0b44b6d5a1fe4b /tests/runner.py | |
parent | 345f0b4022a0d0d6c22b1eac155f863a7c1e5dd4 (diff) |
fix test_time
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-x | tests/runner.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 25b30965..c5cd56e1 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -3201,7 +3201,8 @@ def process(filename): # XXX Not sure what the right output is here. Looks like the test started failing with daylight savings changes. Modified it to pass again. src = open(path_from_root('tests', 'time', 'src.c'), 'r').read() expected = open(path_from_root('tests', 'time', 'output.txt'), 'r').read() - self.do_run(src, expected, + expected2 = open(path_from_root('tests', 'time', 'output2.txt'), 'r').read() + self.do_run(src, [expected, expected2], extra_emscripten_args=['-H', 'libc/time.h']) #extra_emscripten_args=['-H', 'libc/fcntl.h,libc/sys/unistd.h,poll.h,libc/math.h,libc/langinfo.h,libc/time.h']) |