summaryrefslogtreecommitdiff
path: root/testsuite/tests/simplCore
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-06-03 16:51:51 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-06-09 11:49:44 -0400
commita018c3a84c88f6208e7bd5587af1cdf40c2ae991 (patch)
tree70c084aaeb4758a648f79931d625ecce4799e824 /testsuite/tests/simplCore
parent970e480230bc8422d9bd9a6f1011def86befc34a (diff)
downloadhaskell-a018c3a84c88f6208e7bd5587af1cdf40c2ae991.tar.gz
testsuite: Suppress ticks in T4918 output
As noted in #16741, this test otherwise breaks when `base` is compiled with `-g`.
Diffstat (limited to 'testsuite/tests/simplCore')
-rw-r--r--testsuite/tests/simplCore/should_compile/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuite/tests/simplCore/should_compile/Makefile b/testsuite/tests/simplCore/should_compile/Makefile
index edb74eed24..93388c49c4 100644
--- a/testsuite/tests/simplCore/should_compile/Makefile
+++ b/testsuite/tests/simplCore/should_compile/Makefile
@@ -106,11 +106,13 @@ T4903:
'$(TEST_HC)' $(TEST_HC_OPTS) -c -O T4903a.hs -dcore-lint
'$(TEST_HC)' $(TEST_HC_OPTS) -c -O T4903.hs -dcore-lint
+# N.B. Suppress ticks to ensure that the test result doesn't change if `base`
+# is compiled with -g. See #16741.
T4918:
$(RM) -f T4918.hi T4918.o T4918a.hi T4918a.o
'$(TEST_HC)' $(TEST_HC_OPTS) -c -O T4918a.hs
'$(TEST_HC)' $(TEST_HC_OPTS) -c -O T4918.hs
- '$(TEST_HC)' $(TEST_HC_OPTS) --show-iface T4918.hi | grep 'C#'
+ '$(TEST_HC)' $(TEST_HC_OPTS) -dsuppress-ticks --show-iface T4918.hi | grep 'C#'
EvalTest:
'$(TEST_HC)' $(TEST_HC_OPTS) -c -O EvalTest.hs -ddump-simpl -dsuppress-uniques | grep 'rght.*Dmd' | sed 's/^ *//'