diff options
author | alon@honor <none@none> | 2010-09-14 23:00:35 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-09-14 23:00:35 -0700 |
commit | 8b8c08a9efd662de9e26e4e1d38515db0f46c95d (patch) | |
tree | 40bd74068a005daf7ccec71d2fa650596026d184 /tests | |
parent | 7e3adf52f1c1a408ef21267ba96ebd3ed5d1bec0 (diff) |
additional sauer tests+fixes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/runner.py | 2 | ||||
-rw-r--r-- | tests/sauer/command.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 35bae578..78e500ef 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -737,7 +737,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']), '*\nTemp is 33\n9\n5\n*', main_file='command.cpp', emscripten_settings='{"RELOOP": 0}') + self.do_test(path_from_root(['tests', 'sauer']), '*\nTemp is 33\n9\n5\nhello, everyone\n*', main_file='command.cpp', emscripten_settings='{"RELOOP": 0}') if __name__ == '__main__': if DEBUG: print "LLVM_GCC:", LLVM_GCC diff --git a/tests/sauer/command.cpp b/tests/sauer/command.cpp index 0f9dc196..cfd3d116 100644 --- a/tests/sauer/command.cpp +++ b/tests/sauer/command.cpp @@ -1418,6 +1418,8 @@ int main() execute("push x 11"); execute("pop x"); execute("echo $x"); + execute("greet = [ echo hello, $arg1 ]"); + execute("greet everyone"); printf("*\n"); return 0; } |