[Git][ghc/ghc][wip/T16741] testsuite: Suppress ticks in T4918 output
Ben Gamari
gitlab at gitlab.haskell.org
Mon Jun 3 20:54:07 UTC 2019
Ben Gamari pushed to branch wip/T16741 at Glasgow Haskell Compiler / GHC
Commits:
5d2d6da8 by Ben Gamari at 2019-06-03T20:53:59Z
testsuite: Suppress ticks in T4918 output
As noted in #16741, this test otherwise breaks when `base` is compiled
with `-g`.
- - - - -
1 changed file:
- testsuite/tests/simplCore/should_compile/Makefile
Changes:
=====================================
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/^ *//'
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/5d2d6da8bb661aa2f80356d7ae4c651966aa72d4
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/5d2d6da8bb661aa2f80356d7ae4c651966aa72d4
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20190603/62e605da/attachment.html>
More information about the ghc-commits
mailing list