[commit: ghc] wip/T15155a: curious what is failing (1bdf0fc)

git at git.haskell.org git at git.haskell.org
Thu Dec 27 17:01:35 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/T15155a
Link       : http://ghc.haskell.org/trac/ghc/changeset/1bdf0fc6701e958943b93a65ecac6413815c7bd8/ghc

>---------------------------------------------------------------

commit 1bdf0fc6701e958943b93a65ecac6413815c7bd8
Author: Gabor Greif <ggreif at gmail.com>
Date:   Sun Dec 23 13:47:43 2018 +0100

    curious what is failing


>---------------------------------------------------------------

1bdf0fc6701e958943b93a65ecac6413815c7bd8
 testsuite/tests/codeGen/should_compile/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testsuite/tests/codeGen/should_compile/Makefile b/testsuite/tests/codeGen/should_compile/Makefile
index 60983fa..7723636 100644
--- a/testsuite/tests/codeGen/should_compile/Makefile
+++ b/testsuite/tests/codeGen/should_compile/Makefile
@@ -47,8 +47,8 @@ T15723:
 ## check that there are two assembly equates
 # mentioning T15155.a_closure (def and use)
 T15155:
-	'$(TEST_HC)' $(TEST_HC_OPTS) -c -O0 -ddump-asm T15155l.hs | grep -F ".equiv " \
-	| grep -F "T15155.a_closure" | wc -l | sed -e 's/ *//g' | grep "2" ; echo $$?
+	'$(TEST_HC)' $(TEST_HC_OPTS) -c -O0 -ddump-asm T15155l.hs | tee T15155.asm | grep -F ".equiv " \
+	| grep -F "T15155.a_closure" | wc -l | sed -e 's/ *//g' | (grep "2" || cat T15155.asm) ; echo $$?
 
 ## check that there are two "$def" aliases:
 #  - one that bitcasts to %T15155_a_closure_struct*



More information about the ghc-commits mailing list