aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--mathcomp/Makefile.common8
2 files changed, 8 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c39da82..443c93a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -129,7 +129,7 @@ coq-dev:
- pwd
script:
- cd mathcomp
- - make test-suite
+ - make test-suite TEST_SKIP_BUILD=1
except:
- tags
- merge_requests
diff --git a/mathcomp/Makefile.common b/mathcomp/Makefile.common
index b6b71ea..9759158 100644
--- a/mathcomp/Makefile.common
+++ b/mathcomp/Makefile.common
@@ -56,7 +56,13 @@ Makefile.coq: pre-makefile $(COQPROJECT) Makefile
# Test suite ---------------------------------------------------------
-test_suite/test_hierarchy_all.v: build
+ifneq "$(TEST_SKIP_BUILD)" ""
+TEST_DEP :=
+else
+TEST_DEP := build
+endif
+
+test_suite/test_hierarchy_all.v: $(TEST_DEP)
COQBIN=$(COQBIN) ocaml ../etc/utils/hierarchy.ml -verify -R . mathcomp -lib all.all > test_suite/test_hierarchy_all.v
Makefile.test-suite.coq: test_suite/test_hierarchy_all.v