summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_compile/all.T
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/partial-sigs/should_compile/all.T
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/partial-sigs/should_compile/all.T')
-rw-r--r--testsuite/tests/partial-sigs/should_compile/all.T11
1 files changed, 10 insertions, 1 deletions
diff --git a/testsuite/tests/partial-sigs/should_compile/all.T b/testsuite/tests/partial-sigs/should_compile/all.T
index bdfc13d284..d6eaa7727a 100644
--- a/testsuite/tests/partial-sigs/should_compile/all.T
+++ b/testsuite/tests/partial-sigs/should_compile/all.T
@@ -38,7 +38,16 @@ test('PatBind', normal, compile, ['-ddump-types -fno-warn-partial-type-signature
# Bug
test('PatBind2', normal, compile, ['-ddump-types -fno-warn-partial-type-signatures'])
test('PatternSig', normal, compile, ['-ddump-types -fno-warn-partial-type-signatures'])
-test('PatternSplice', [req_interp, normal], compile, ['-fno-warn-partial-type-signatures'])
+# 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:
+# PatternSplice.hs:6: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('PatternSplice', [req_interp, omit_ways(['profasm'])], compile, ['-fno-warn-partial-type-signatures'])
test('Recursive', normal, compile, ['-ddump-types -fno-warn-partial-type-signatures'])
test('ScopedNamedWildcards', normal, compile, ['-ddump-types -fno-warn-partial-type-signatures'])
test('ScopedNamedWildcardsGood', normal, compile, ['-ddump-types -fno-warn-partial-type-signatures'])