[commit: ghc] master: testsuite: Fix dependence on grep behavior in T8129 (3edbf5c)

git at git.haskell.org git at git.haskell.org
Thu Sep 14 17:09:19 UTC 2017


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/3edbf5c6dc8eb48728e22c409fe9251038906126/ghc

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

commit 3edbf5c6dc8eb48728e22c409fe9251038906126
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Thu Sep 14 13:05:15 2017 -0400

    testsuite: Fix dependence on grep behavior in T8129
    
    grep was considering the output to be binary on my machine, resulting in a
    spurious test failure.


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

3edbf5c6dc8eb48728e22c409fe9251038906126
 testsuite/tests/indexed-types/should_fail/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/tests/indexed-types/should_fail/Makefile b/testsuite/tests/indexed-types/should_fail/Makefile
index d56889e..432003c 100644
--- a/testsuite/tests/indexed-types/should_fail/Makefile
+++ b/testsuite/tests/indexed-types/should_fail/Makefile
@@ -14,5 +14,5 @@ T8227:
 # an asertion failure with -ddump-tc-trace
 T8129:
 	-'$(TEST_HC)' $(TEST_HC_OPTS) -c -ddump-tc-trace T8129.hs 2> T8129.trace > T8129.trace
-	grep deduce T8129.trace
+	grep -a deduce T8129.trace
 



More information about the ghc-commits mailing list