summaryrefslogtreecommitdiff
path: root/testsuite/tests/dynlibs/all.T
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/dynlibs/all.T')
-rw-r--r--testsuite/tests/dynlibs/all.T31
1 files changed, 19 insertions, 12 deletions
diff --git a/testsuite/tests/dynlibs/all.T b/testsuite/tests/dynlibs/all.T
index 622bcab6a7..569962761a 100644
--- a/testsuite/tests/dynlibs/all.T
+++ b/testsuite/tests/dynlibs/all.T
@@ -1,24 +1,31 @@
test('T3807',
- [req_shared_libs,
- when(have_thread_sanitizer(), expect_broken(18883)),
- when(opsys('mingw32'),
- skip)], makefile_test, [])
+ [unless(have_dynamic(), skip),
+ when(have_thread_sanitizer(), expect_broken(18883))],
+ makefile_test, [])
-test('T4464', [req_shared_libs, unless(opsys('mingw32'), skip)], makefile_test, [])
+test('T4464', [req_dynamic_hs, unless(opsys('mingw32'), skip)], makefile_test, [])
-test('T5373', [req_shared_libs], makefile_test, [])
+test('T5373', [unless(have_dynamic(), skip)], makefile_test, [])
# It's not clear exactly what platforms we can expect this to succeed on.
test('T13702',
[when(have_thread_sanitizer(), expect_broken(18884)),
- req_shared_libs, unless(opsys('linux'), skip)],
+ unless(have_dynamic(), skip),
+ unless(opsys('linux'), skip)],
makefile_test, [])
-# test that -shared and -flink-rts actually links the rts
-test('T18072', [req_shared_libs, unless(opsys('linux'), skip)], makefile_test, [])
+# test that -shared and -flink-rts actually links the RTS
+test('T18072', [unless(have_dynamic(), skip), unless(opsys('linux'), skip)], makefile_test, [])
# test that -shared and -flink-rts respects alternative RTS flavours
-test('T18072debug', [extra_files(['T18072.hs']), req_shared_libs, unless(opsys('linux'), skip)], makefile_test, [])
+test('T18072debug',
+ [unless(have_dynamic(), skip),
+ extra_files(['T18072.hs']),
+ unless(opsys('linux'), skip)],
+ makefile_test, [])
-# check that -staticlib and -fno-link-rts results in an archive without the RTR library
-test('T18072static', [extra_files(['T18072.hs']), unless(opsys('linux'), skip)], makefile_test, [])
+# check that -staticlib and -fno-link-rts results in an archive without the RTS library
+test('T18072static',
+ [extra_files(['T18072.hs']),
+ unless(opsys('linux'), skip)],
+ makefile_test, [])