aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorPierre Roux2020-04-10 17:49:03 +0200
committerPierre Roux2020-04-15 16:38:24 +0200
commit88b1f400ef05142a1f05cd7dcb34a4c682b7ab83 (patch)
tree20d868736b613fa8feac099c84dee90f13866df9 /test-suite
parent1d7729c1007e320dbae3bc603838da817d40651c (diff)
Ignore -native-compiler option when disabled
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/coq-makefile/native1/_CoqProject2
-rwxr-xr-xtest-suite/coq-makefile/native2/run.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/test-suite/coq-makefile/native1/_CoqProject b/test-suite/coq-makefile/native1/_CoqProject
index 3dfca7ffc0..85276fd9b9 100644
--- a/test-suite/coq-makefile/native1/_CoqProject
+++ b/test-suite/coq-makefile/native1/_CoqProject
@@ -1,6 +1,8 @@
-R src test
-R theories test
-I src
+-arg -w
+-arg +native-compiler-disabled
-arg -native-compiler
-arg yes
diff --git a/test-suite/coq-makefile/native2/run.sh b/test-suite/coq-makefile/native2/run.sh
index 857f70fdff..aaae81630f 100755
--- a/test-suite/coq-makefile/native2/run.sh
+++ b/test-suite/coq-makefile/native2/run.sh
@@ -7,7 +7,7 @@ if [[ $(which ocamlopt) && ! $NONATIVECOMP ]]; then
coq_makefile -f _CoqProject -o Makefile
cat Makefile.conf
-COQEXTRAFLAGS="-native-compiler yes" make
+COQEXTRAFLAGS="-w +native-compiler-disabled -native-compiler yes" make
make html mlihtml
make install DSTROOT="$PWD/tmp"
#make debug