diff options
-rw-r--r-- | tests/test_core.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index 88d1e34c..7a53098c 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -8305,9 +8305,12 @@ 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) - if Settings.ASM_JS: + assert 'asm1' in test_modes + if self.run_name == 'asm1': # test float support in asm - Settings.FROUND = 1 + print 'was fround', Settings.FROUND + Settings.FROUND = 1 - Settings.FROUND + print 'now fround variant', Settings.FROUND i, j = results[-1] src = open(path_from_root('tests', 'fasta.cpp'), 'r').read().replace('double', 'float') self.do_run(src, j, [str(i)], lambda x, err: x.replace('\n', '*')) |