6fbb4db
From c04f2fbb3ae4dc8f67882bfe35d8565f016dee0f Mon Sep 17 00:00:00 2001
6fbb4db
From: Xavier Leroy <xavier.leroy@college-de-france.fr>
6fbb4db
Date: Fri, 15 Jul 2022 14:23:10 +0200
6fbb4db
Subject: [PATCH 13/24] tests/lib-bigarray-2/has-gfortran.sh: don't print
6fbb4db
 anything on stdout
6fbb4db
6fbb4db
It confuses the summarize.awk script.
6fbb4db
---
6fbb4db
 testsuite/tests/lib-bigarray-2/has-gfortran.sh | 2 +-
6fbb4db
 1 file changed, 1 insertion(+), 1 deletion(-)
6fbb4db
6fbb4db
diff --git a/testsuite/tests/lib-bigarray-2/has-gfortran.sh b/testsuite/tests/lib-bigarray-2/has-gfortran.sh
6fbb4db
index 051122113a..7eef1e662e 100644
6fbb4db
--- a/testsuite/tests/lib-bigarray-2/has-gfortran.sh
6fbb4db
+++ b/testsuite/tests/lib-bigarray-2/has-gfortran.sh
6fbb4db
@@ -5,7 +5,7 @@ if ! which gfortran > /dev/null 2>&1; then
6fbb4db
 elif ! grep -q '^CC=gcc' ${ocamlsrcdir}/Makefile.config; then
6fbb4db
   echo "OCaml was not compiled with gcc" > ${ocamltest_response}
6fbb4db
   test_result=${TEST_SKIP}
6fbb4db
-elif gcc --version 2>&1 | grep 'Apple clang version'; then
6fbb4db
+elif gcc --version 2>&1 | grep -q 'Apple clang version'; then
6fbb4db
   echo "OCaml was not compiled with gcc" > ${ocamltest_response}
6fbb4db
   test_result=${TEST_SKIP}
6fbb4db
 else
6fbb4db
-- 
6fbb4db
2.37.0.rc2
6fbb4db