summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/should_compile
diff options
context:
space:
mode:
authorAlp Mestanogullari <alp@well-typed.com>2018-05-19 14:00:21 -0400
committerBen Gamari <ben@smart-cactus.org>2018-05-20 11:01:34 -0400
commitc4219d9f7d122a106fc8fb1e5cd9a62dadadf76c (patch)
tree70d63e39967b4691ad2a6dc2ec69e258b5f3fc02 /testsuite/tests/th/should_compile
parent9171c7f847bc71770a4bb351c4274069d64cd847 (diff)
downloadhaskell-c4219d9f7d122a106fc8fb1e5cd9a62dadadf76c.tar.gz
Another batch of './validation --slow' tweaks
This finally gets us to a green ./validate --slow on linux for a ghc checkout from the beginning of this week, see https://circleci.com/gh/ghc/ghc/4739 This is hopefully the final (or second to final) patch to address #14890. Test Plan: ./validate --slow Reviewers: bgamari, hvr, simonmar Reviewed By: bgamari Subscribers: rwbarton, thomie, carter GHC Trac Issues: #14890 Differential Revision: https://phabricator.haskell.org/D4712
Diffstat (limited to 'testsuite/tests/th/should_compile')
-rw-r--r--testsuite/tests/th/should_compile/T13949/all.T12
-rw-r--r--testsuite/tests/th/should_compile/T8025/all.T11
2 files changed, 20 insertions, 3 deletions
diff --git a/testsuite/tests/th/should_compile/T13949/all.T b/testsuite/tests/th/should_compile/T13949/all.T
index 9975e58bf3..193b06f67d 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']),
+# 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']),
+ omit_ways(['profasm'])],
multimod_compile, ['ASCII PatternGenerator These Tree', '-fno-code -v0']) \ No newline at end of file
diff --git a/testsuite/tests/th/should_compile/T8025/all.T b/testsuite/tests/th/should_compile/T8025/all.T
index 81e6d5e5fd..2eb42ac740 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'])],
+ multimod_compile, ['A B', '-fno-code -v0']) \ No newline at end of file