diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-11-17 10:49:24 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-11-17 10:49:24 -0800 |
commit | f48ab8b31f1807931e1bf6180ac04bf00d126a90 (patch) | |
tree | 101070965f1946d73adbc98eaaa4ce35d826856d /tests | |
parent | acccc5e85ada70e963934bdf21dfeb501fe63d98 (diff) | |
parent | e2c5a4daa5af7c9130d616ebc68b23ec465fa1f9 (diff) |
Merge branch 'master' of github.com:kripken/emscripten
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runner.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index be77fb7b..3ab1ea16 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -1797,11 +1797,13 @@ if 'benchmark' not in str(sys.argv): printf("*%lu*\\n", strtoul("0", NULL, 0)); printf("*%lu*\\n", strtoul("-10", NULL, 0)); + printf("*malloc(0)!=0:%d*\\n", malloc(0) != 0); // We should not fail horribly + return 0; } ''' - self.do_run(src, '*1,2,3,5,5,6*\n*stdin==0:0*\n*%*\n*5*\n*66.0*\n*10*\n*0*\n*-10*\n*18*\n*10*\n*0*\n*4294967286*\n*cleaned*') + self.do_run(src, '*1,2,3,5,5,6*\n*stdin==0:0*\n*%*\n*5*\n*66.0*\n*10*\n*0*\n*-10*\n*18*\n*10*\n*0*\n*4294967286*\n*malloc(0)!=0:1*\n*cleaned*') def test_time(self): # XXX Not sure what the right output is here. Looks like the test started failing with daylight savings changes. Modified it to pass again. |