diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-17 16:02:01 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-18 13:00:50 -0700 |
commit | 6d60dfe76053f498328452fbd10bb3ea53711c2f (patch) | |
tree | aa152aef6043c5c332fc10b523e8b2171de7c016 | |
parent | 4cdc5fea95821751396b8a8bc350bf6b1eaf01d4 (diff) |
add test target
-rw-r--r-- | tests/test_other.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_other.py b/tests/test_other.py index f44dfc5f..1fc1c60b 100644 --- a/tests/test_other.py +++ b/tests/test_other.py @@ -2008,3 +2008,8 @@ a(int [32], char [5]*) try_delete(path_from_root('tests', 'Module-exports', 'test.js')) try_delete(path_from_root('tests', 'Module-exports', 'test.js.map')) + def test_simd(self): + self.clear() + Popen([PYTHON, EMCC, path_from_root('tests', 'linpack.c'), '-DSP', '--llvm-opts', '''['-O3', '-vectorize', '-vectorize-loops', '-bb-vectorize-vector-bits=128', '-force-vector-width=4']''']).communicate() + self.assertContained('hello, world!', run_js('a.out.js')) + |