diff options
Diffstat (limited to 'tests/runner.py')
-rw-r--r-- | tests/runner.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 26f4239d..d7a6409e 100644 --- a/tests/runner.py +++ b/tests/runner.py @@ -2183,7 +2183,7 @@ else: USE_CLOSURE_COMPILER = 1 TEST_REPS = 3 - TOTAL_TESTS = 3 + TOTAL_TESTS = 4 tests_done = 0 total_times = map(lambda x: 0., range(TEST_REPS)) @@ -2275,6 +2275,15 @@ else: src = open(path_from_root('tests', 'fannkuch.cpp'), 'r').read() self.do_benchmark(src, ['9'], 'Pfannkuchen(9) = 30.') + def test_fasta(self): + src = open(path_from_root('tests', 'fasta.cpp'), 'r').read() + self.do_benchmark(src, ['100000'], '''atgtgtaagaaaaagtttttaatatcatctaactcggtggaatgcacacttatggccaac + +tgaccttgggacgagttaagataccataagaggttgcctgtaagttaagataacaaaggg + +atattccatctttgtgtgct +''') + def test_raytrace(self): src = open(path_from_root('tests', 'raytrace.cpp'), 'r').read() self.do_benchmark(src, ['5', '64'], open(path_from_root('tests', 'raytrace_5_64.ppm'), 'r').read()) |