From 3748c26914b667f2379374801ebc3f9c8317b4c0 Mon Sep 17 00:00:00 2001 From: Maxime Dénès Date: Thu, 1 Jun 2017 23:33:04 +0200 Subject: Test-suite: do not test native compiler if disabled by configure. --- test-suite/coq-makefile/native1/run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test-suite/coq-makefile') diff --git a/test-suite/coq-makefile/native1/run.sh b/test-suite/coq-makefile/native1/run.sh index bc9f846dd..f07966263 100755 --- a/test-suite/coq-makefile/native1/run.sh +++ b/test-suite/coq-makefile/native1/run.sh @@ -3,7 +3,8 @@ #set -x set -e -if which ocamlopt; then +NATIVECOMP=`grep "let no_native_compiler = false" ../../../config/coq_config.ml`||true +if [[ `which ocamlopt` && $NATIVECOMP ]]; then . ../template/init.sh -- cgit v1.2.3