summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/should_compile/T13949/all.T
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/th/should_compile/T13949/all.T')
-rw-r--r--testsuite/tests/th/should_compile/T13949/all.T14
1 files changed, 12 insertions, 2 deletions
diff --git a/testsuite/tests/th/should_compile/T13949/all.T b/testsuite/tests/th/should_compile/T13949/all.T
index 9975e58bf3..edd3fe5c9f 100644
--- a/testsuite/tests/th/should_compile/T13949/all.T
+++ b/testsuite/tests/th/should_compile/T13949/all.T
@@ -1,2 +1,12 @@
-test('T13949', extra_files(['ASCII.hs', 'PatternGenerator.hs', 'These.hs', 'Tree.hs']),
- multimod_compile, ['ASCII PatternGenerator These Tree', '-fno-code -v0']) \ No newline at end of file
+# we omit profasm because it doesn't bring much to the table but
+# introduces its share of complexity, as the test as it is fails with
+# profasm:
+# ASCII.hs:1:1: 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('T13949', [extra_files(['ASCII.hs', 'PatternGenerator.hs', 'These.hs', 'Tree.hs']), req_interp,
+ omit_ways(['profasm'])],
+ multimod_compile, ['ASCII PatternGenerator These Tree', '-fno-code -v0'])