From 84490e821deee16fe8155df2b9328c23d953c4fb Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 20 Dec 2016 21:08:55 +0100 Subject: testsuite/gna: adjust for windows. --- testsuite/gna/ticket30/testsuite.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'testsuite/gna/ticket30') diff --git a/testsuite/gna/ticket30/testsuite.sh b/testsuite/gna/ticket30/testsuite.sh index 0d33bb257..dd6d640a6 100755 --- a/testsuite/gna/ticket30/testsuite.sh +++ b/testsuite/gna/ticket30/testsuite.sh @@ -2,7 +2,9 @@ . ../../testenv.sh -if ! "$GHDL" --dir ieee | grep -q vital; then +# Don't use grep -q, doesn't work on windows. + +if ! "$GHDL" --dir ieee | grep vital > /dev/null; then echo "No vital libraries, skipping" exit 0 fi -- cgit v1.2.3