summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-02-23 10:21:06 -0500
committerBen Gamari <ben@smart-cactus.org>2020-02-23 10:21:06 -0500
commit05969579057d8712e298b5d290cbdc79f0732c34 (patch)
treea52a20fc18f7213ff624c44bf8d8b1ad9ab21ed4
parentff95136b7951d21186ce06a8397f03c41e89c8df (diff)
downloadhaskell-05969579057d8712e298b5d290cbdc79f0732c34.tar.gz
testsuite: Skip T17787 in profiled ways
-rw-r--r--testsuite/tests/simplCore/should_compile/all.T3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuite/tests/simplCore/should_compile/all.T b/testsuite/tests/simplCore/should_compile/all.T
index 44c60ea312..d9dc3a8929 100644
--- a/testsuite/tests/simplCore/should_compile/all.T
+++ b/testsuite/tests/simplCore/should_compile/all.T
@@ -314,4 +314,5 @@ test('T17409',
test('T17429', normal, compile, ['-dcore-lint -O2'])
test('T17722', normal, multimod_compile, ['T17722B', '-dcore-lint -O2 -v0'])
test('T17724', normal, compile, ['-dcore-lint -O2'])
-test('T17787', [ grep_errmsg(r'foo') ], compile, ['-ddump-simpl -dsuppress-uniques'])
+# N.B. output spuriously different in profiled and hpc ways.
+test('T17787', [ only_ways(['optasm', 'normal']), grep_errmsg(r'foo') ], compile, ['-ddump-simpl -dsuppress-uniques'])