Blob Blame History Raw
From c04f2fbb3ae4dc8f67882bfe35d8565f016dee0f Mon Sep 17 00:00:00 2001
From: Xavier Leroy <xavier.leroy@college-de-france.fr>
Date: Fri, 15 Jul 2022 14:23:10 +0200
Subject: [PATCH 13/24] tests/lib-bigarray-2/has-gfortran.sh: don't print
 anything on stdout

It confuses the summarize.awk script.
---
 testsuite/tests/lib-bigarray-2/has-gfortran.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testsuite/tests/lib-bigarray-2/has-gfortran.sh b/testsuite/tests/lib-bigarray-2/has-gfortran.sh
index 051122113a..7eef1e662e 100644
--- a/testsuite/tests/lib-bigarray-2/has-gfortran.sh
+++ b/testsuite/tests/lib-bigarray-2/has-gfortran.sh
@@ -5,7 +5,7 @@ if ! which gfortran > /dev/null 2>&1; then
 elif ! grep -q '^CC=gcc' ${ocamlsrcdir}/Makefile.config; then
   echo "OCaml was not compiled with gcc" > ${ocamltest_response}
   test_result=${TEST_SKIP}
-elif gcc --version 2>&1 | grep 'Apple clang version'; then
+elif gcc --version 2>&1 | grep -q 'Apple clang version'; then
   echo "OCaml was not compiled with gcc" > ${ocamltest_response}
   test_result=${TEST_SKIP}
 else
-- 
2.37.0.rc2