diff options
author | Thomas Miedema <thomasmiedema@gmail.com> | 2016-06-18 18:58:02 +0200 |
---|---|---|
committer | Thomas Miedema <thomasmiedema@gmail.com> | 2016-06-20 16:22:07 +0200 |
commit | ebaf26b75c6ab3185b6e098e9caf575c03085f82 (patch) | |
tree | 674029f4f51abddc1ca3ca4d9c58a70705ea26bc /testsuite/tests/numeric | |
parent | 135fc86c54626e8fc843eca0a437bee878315949 (diff) | |
download | haskell-ebaf26b75c6ab3185b6e098e9caf575c03085f82.tar.gz |
Testsuite: delete dead code + cleanup
* Set config settings directly in mk/test.mk, instead of indirectly in
config/ghc
* passing --hpcdir for WAY=hpc is unnecessary
Diffstat (limited to 'testsuite/tests/numeric')
-rw-r--r-- | testsuite/tests/numeric/should_run/all.T | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/testsuite/tests/numeric/should_run/all.T b/testsuite/tests/numeric/should_run/all.T index d1f05fd220..a7c7c84d1c 100644 --- a/testsuite/tests/numeric/should_run/all.T +++ b/testsuite/tests/numeric/should_run/all.T @@ -12,21 +12,17 @@ test('arith006', normal, compile_and_run, ['']) test('arith007', normal, compile_and_run, ['']) # On i386, we need -msse2 to get reliable floating point results -ways = normal -opts = '' -if config.platform.startswith('i386-'): - if version_ge(config.compiler_version, '6.13'): - opts = '-msse2' - else: - ways = expect_fail_for(['optasm','threaded2','hpc','dyn','profasm']) - -test('arith008', ways, compile_and_run, [opts]) +if config.arch == 'i386': + opts = '-msse2' +else: + opts = '' +test('arith008', normal, compile_and_run, [opts]) test('arith009', normal, compile_and_run, ['']) test('arith010', normal, compile_and_run, ['']) test('arith011', normal, compile_and_run, ['']) -test('arith012', ways, compile_and_run, [opts]) +test('arith012', normal, compile_and_run, [opts]) test('arith013', normal, compile_and_run, ['']) test('arith014', normal, compile_and_run, ['']) |