diff options
author | alon@honor <none@none> | 2010-09-11 14:15:46 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-09-11 14:15:46 -0700 |
commit | ac805ebf0af3ad7873dbed0f0f28e5f6d481c464 (patch) | |
tree | 29d01717b6c05cfb43749fd6a88610079447dc74 /tests/runner.py | |
parent | c91d6e20014b124c32d29d301e39a5782570300e (diff) |
Catch a corner case with 0 in varargs
Diffstat (limited to 'tests/runner.py')
-rw-r--r-- | tests/runner.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/runner.py b/tests/runner.py index a24587da..5398327a 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -625,12 +625,12 @@ class T(unittest.TestCase): } int main() { - vary("*cheez: %d+%d*", 10, 24); + vary("*cheez: %d+%d*", 0, 24); // Also tests that '0' is not special as an array ender vary2('Q', "%d*", 85); return 0; } ''' - self.do_test(src, '*cheez: 10+24*\nQ85*') + self.do_test(src, '*cheez: 0+24*\nQ85*') def test_atexit(self): src = ''' @@ -688,7 +688,7 @@ class T(unittest.TestCase): # used, see Mozilla bug 593659. assert PARSER_ENGINE != SPIDERMONKEY_ENGINE # XXX RELOOP = 1 either is very very slow, or nonfinishing - self.do_test(path_from_root(['tests', 'sauer']), '*Temp is 32\n9*', main_file='command.cpp', emscripten_settings='{"RELOOP": 0}') + self.do_test(path_from_root(['tests', 'sauer']), '*Temp is 33\n9*', main_file='command.cpp', emscripten_settings='{"RELOOP": 0}') if __name__ == '__main__': if DEBUG: print "LLVM_GCC:", LLVM_GCC |