summaryrefslogtreecommitdiff
path: root/testsuite/tests/ffi
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2016-06-18 18:58:02 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2016-06-20 16:22:07 +0200
commitebaf26b75c6ab3185b6e098e9caf575c03085f82 (patch)
tree674029f4f51abddc1ca3ca4d9c58a70705ea26bc /testsuite/tests/ffi
parent135fc86c54626e8fc843eca0a437bee878315949 (diff)
downloadhaskell-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/ffi')
-rw-r--r--testsuite/tests/ffi/should_run/all.T15
1 files changed, 5 insertions, 10 deletions
diff --git a/testsuite/tests/ffi/should_run/all.T b/testsuite/tests/ffi/should_run/all.T
index bf9fefdcba..2b35a0fa63 100644
--- a/testsuite/tests/ffi/should_run/all.T
+++ b/testsuite/tests/ffi/should_run/all.T
@@ -47,17 +47,12 @@ test('ffi007', omit_ways(['ghci']), compile_and_run, [''])
test('ffi008', [exit_code(1), omit_ways(['ghci'])], compile_and_run, [''])
# On i386, we need -msse2 to get reliable floating point results
-maybe_skip = normal
-opts = ''
if config.platform.startswith('i386-'):
- if version_ge(config.compiler_version, '6.13'):
- opts = '-msse2'
- else:
- maybe_skip = only_ways(['ghci'])
-
-test('ffi009', [when(fast(), skip),
- reqlib('random'),
- maybe_skip] ,compile_and_run, [opts])
+ opts = '-msse2'
+else:
+ opts = ''
+
+test('ffi009', [when(fast(), skip), reqlib('random')], compile_and_run, [opts])
test('ffi010', normal, compile_and_run, [''])
test('ffi011', normal, compile_and_run, [''])