aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-05-07 16:39:32 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-05-07 16:39:32 -0700
commit0cd8926f0f8b7076e2badcb0c6d03f680b677179 (patch)
treed091f7bc3380b4ac61bfec9cac62f8efe49b4c0f /tests/runner.py
parent06a8c252d94f34a3729aaefe8cb89fbe1a877a57 (diff)
add whets testcase
Diffstat (limited to 'tests/runner.py')
-rwxr-xr-xtests/runner.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index 29c8ca7d..773cb157 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -7390,6 +7390,10 @@ extern "C" {
src = open(path_from_root('tests', 'fasta.cpp'), 'r').read()
self.do_run(src, j, [str(i)], lambda x, err: x.replace('\n', '*'), no_build=i>1)
+ def test_whets(self):
+ if not Settings.ASM_JS: return self.skip('mainly a test for asm validation here')
+ self.do_run(open(path_from_root('tests', 'whets.cpp')).read(), 'Single Precision C Whetstone Benchmark')
+
def test_dlmalloc(self):
if self.emcc_args is None: self.emcc_args = [] # dlmalloc auto-inclusion is only done if we use emcc