aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-11-11 11:29:47 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-11-11 11:29:47 -0800
commit2182170ca32698886e311b7e5edbb5f9ed30aa3a (patch)
tree5dda99efb7348a956d954f97704bc8721ba8c937
parent0ba049d69dbcb0cafd339f33eaa9dc9aa292a7e1 (diff)
test suite changes for f32 landing: enable float32_precise in all modes, disable asm1f (rely on testing in float32_precise and fasta), and mark asm2f as permanent
-rw-r--r--tests/test_core.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index 8038ea83..30b9c70f 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -883,7 +883,7 @@ nada
self.do_run(src, 'OK!\n');
def test_float32_precise(self):
- if self.emcc_args == None or 'PRECISE_F32=1' not in self.emcc_args: return self.skip('needs precise float32')
+ Settings.PRECISE_F32 = 1
src = r'''
#include <stdio.h>
@@ -10739,9 +10739,8 @@ o2 = make_run("o2", compiler=CLANG, emcc_args=["-O2", "-s", "ASM_JS=0", "-s", "J
# asm.js
asm1 = make_run("asm1", compiler=CLANG, emcc_args=["-O1"])
-asm1f = make_run("asm1f", compiler=CLANG, emcc_args=["-O1", "-s", "PRECISE_F32=1"])
asm2 = make_run("asm2", compiler=CLANG, emcc_args=["-O2"])
-asm2f = make_run("asm2f", compiler=CLANG, emcc_args=["-O2", "-s", "PRECISE_F32=1"]) # TODO: collapse into another test subsuite
+asm2f = make_run("asm2f", compiler=CLANG, emcc_args=["-O2", "-s", "PRECISE_F32=1"])
asm2g = make_run("asm2g", compiler=CLANG, emcc_args=["-O2", "-g", "-s", "ASSERTIONS=1", "--memory-init-file", "1", "-s", "CHECK_HEAP_ALIGN=1"])
asm2x86 = make_run("asm2x86", compiler=CLANG, emcc_args=["-O2", "-g", "-s", "CHECK_HEAP_ALIGN=1"], env={"EMCC_LLVM_TARGET": "i386-pc-linux-gnu"})