summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/should_compile/T8025/all.T
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/should_compile/T8025/all.T')
-rw-r--r--testsuite/tests/th/should_compile/T8025/all.T11
1 files changed, 9 insertions, 2 deletions
diff --git a/testsuite/tests/th/should_compile/T8025/all.T b/testsuite/tests/th/should_compile/T8025/all.T
index 81e6d5e5fd..4cdf19cae8 100644
--- a/testsuite/tests/th/should_compile/T8025/all.T
+++ b/testsuite/tests/th/should_compile/T8025/all.T
@@ -1,2 +1,9 @@
-test('T8025', extra_files(['A.hs', 'B.hs']), multimod_compile,
- ['A B', '-fno-code -v0']) \ No newline at end of file
+# we omit profasm because it fails with:
+# B.hs:5:5: fatal:
+# Cannot load -prof objects when GHC is built with -dynamic
+# To fix this, either:
+# (1) Use -fexternal-interpreter, or
+# (2) Build the program twice: once with -dynamic, and then
+# with -prof using -osuf to set a different object file suffix.
+test('T8025', [extra_files(['A.hs', 'B.hs']), omit_ways(['profasm']), req_interp],
+ multimod_compile, ['A B', '-fno-code -v0'])