diff options
author | alon@honor <none@none> | 2010-09-05 10:11:22 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-09-05 10:11:22 -0700 |
commit | dd1b1df02528e513429c999a0af0a300a96ba716 (patch) | |
tree | 9af50e387651cee08274508584550cd48778bda8 | |
parent | 1546cdbebe51b17b0f060f3feafd247e9d00f617 (diff) |
Sauer hello world runs, without optimization or relooping, and without testing internals
-rw-r--r-- | tests/runner.py | 4 | ||||
-rw-r--r-- | tests/sauer/command.cpp | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py index e48ff69d..42e8e7f1 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -609,8 +609,10 @@ class T(unittest.TestCase): src = open(path_from_root(['tests', 'fasta.cpp']), 'r').read() self.do_test(src, j, [str(i)], lambda x: x.replace('\n', '*'), no_python=True, no_build=i>1) + # XXX Warning: Running this in SpiderMonkey can lead to an extreme amount of memory being + # used, see Mozilla bug 593659. def zzztest_sauer(self): - self.do_test(path_from_root(['tests', 'sauer']), 'wakawaka', main_file='command.cpp') + self.do_test(path_from_root(['tests', 'sauer']), 'Hello sauer world!', main_file='command.cpp') if __name__ == '__main__': if DEBUG: print "LLVM_GCC:", LLVM_GCC diff --git a/tests/sauer/command.cpp b/tests/sauer/command.cpp index 9067a7dd..f9ca1fd8 100644 --- a/tests/sauer/command.cpp +++ b/tests/sauer/command.cpp @@ -1402,7 +1402,7 @@ void fatal(const char *s, ...) // failure exit int main() { - printf("Hello sauer world\n"); + printf("Hello sauer world!\n"); return 0; } |