aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-09-08 23:10:14 -0700
committeralon@honor <none@none>2010-09-08 23:10:14 -0700
commitdd766e9a45b5b548600db35065d3ffa471919982 (patch)
tree6a0dda53b5a3fd1431001b8694f2b57771079cbe /tests/runner.py
parent7a6e1527b65e32ab8cbe4760932eb40ad3eb2b3b (diff)
sauer hello world nearly ready for enabling in test runner
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 4d2c51c3..1c063a61 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -678,8 +678,16 @@ class T(unittest.TestCase):
# XXX Warning: Running this in SpiderMonkey can lead to an extreme amount of memory being
# used, see Mozilla bug 593659.
+ # XXX Need to run without RELOOPING.
+ # With those caveats, will pass successfully
def zzztest_sauer(self):
- self.do_test(path_from_root(['tests', 'sauer']), 'Hello sauer world!', main_file='command.cpp')
+ global PARSER_ENGINE
+ try:
+ old = PARSER_ENGINE
+ PARSER_ENGINE = V8_ENGINE
+ self.do_test(path_from_root(['tests', 'sauer']), 'Hello from sauer', main_file='command.cpp')
+ finally:
+ PARSER_ENGINE = old
if __name__ == '__main__':
if DEBUG: print "LLVM_GCC:", LLVM_GCC