summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Gardas <karel.gardas@centrum.cz>2014-08-07 00:11:45 +0200
committerKarel Gardas <karel.gardas@centrum.cz>2014-08-07 08:46:14 +0200
commit24a2e49e8a96a6ef5ef19386676b9f3b7d323afd (patch)
tree852b68dfa3123b0bf2ccb320ac6a9504b5e6d575
parent2b3c621685ec975e81ce82472f9a774791b14ac1 (diff)
downloadhaskell-24a2e49e8a96a6ef5ef19386676b9f3b7d323afd.tar.gz
fix T658b/T5776 to use POSIX grep -c instead of GNU's --count
-rw-r--r--testsuite/tests/simplCore/should_compile/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/simplCore/should_compile/Makefile b/testsuite/tests/simplCore/should_compile/Makefile
index ca0d552355..605d3a598a 100644
--- a/testsuite/tests/simplCore/should_compile/Makefile
+++ b/testsuite/tests/simplCore/should_compile/Makefile
@@ -17,12 +17,12 @@ T3055:
T5658b:
$(RM) -f T5658b.o T5658b.hi
- '$(TEST_HC)' $(TEST_HC_OPTS) -O -c T5658b.hs -ddump-simpl | grep --count indexIntArray
+ '$(TEST_HC)' $(TEST_HC_OPTS) -O -c T5658b.hs -ddump-simpl | grep -c indexIntArray
# Trac 5658 meant that there were three calls to indexIntArray instead of two
T5776:
$(RM) -f T5776.o T5776.hi
- '$(TEST_HC)' $(TEST_HC_OPTS) -O -c T5776.hs -ddump-rules | grep --count dEq
+ '$(TEST_HC)' $(TEST_HC_OPTS) -O -c T5776.hs -ddump-rules | grep -c dEq
T3772:
$(RM) -f T3772*.hi T3772*.o