diff options
| author | Enrico Tassi | 2020-09-14 13:58:24 +0200 |
|---|---|---|
| committer | Enrico Tassi | 2020-09-14 13:58:24 +0200 |
| commit | 755068fd34f0fa1e918123c4859aef2e89bedfca (patch) | |
| tree | 7081f53f8222fe6460371427052bea16b69e4f26 /mathcomp | |
| parent | cfa21928a5148f826e19aa5a78b83b5ed4e165b9 (diff) | |
test-suite works both in local and system wide mode
Diffstat (limited to 'mathcomp')
| -rw-r--r-- | mathcomp/Make.test-suite | 1 | ||||
| -rw-r--r-- | mathcomp/Makefile.common | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/mathcomp/Make.test-suite b/mathcomp/Make.test-suite index 0b51909..f34958d 100644 --- a/mathcomp/Make.test-suite +++ b/mathcomp/Make.test-suite @@ -3,7 +3,6 @@ test_suite/test_ssrAC.v test_suite/test_guard.v -I . --R . mathcomp -arg -w -arg -notation-overridden -arg -w -arg -ambiguous-paths diff --git a/mathcomp/Makefile.common b/mathcomp/Makefile.common index df43b4f..b1603e6 100644 --- a/mathcomp/Makefile.common +++ b/mathcomp/Makefile.common @@ -58,12 +58,14 @@ Makefile.coq: pre-makefile $(COQPROJECT) Makefile ifneq "$(TEST_SKIP_BUILD)" "" TEST_DEP := +MATHCOMP_PATH := -R test_suite mathcomp.test_suite else TEST_DEP := build +MATHCOMP_PATH := -R . mathcomp endif test_suite/test_hierarchy_all.v: $(TEST_DEP) - COQBIN=$(COQBIN) ocaml ../etc/utils/hierarchy.ml -verify -R . mathcomp \ + COQBIN=$(COQBIN) ocaml ../etc/utils/hierarchy.ml -verify $(MATHCOMP_PATH) \ -lib all_ssreflect \ -lib all_algebra \ -lib all_field \ @@ -73,7 +75,7 @@ test_suite/test_hierarchy_all.v: $(TEST_DEP) > test_suite/test_hierarchy_all.v Makefile.test-suite.coq: test_suite/test_hierarchy_all.v - $(COQMAKEFILE) $(COQMAKEFILEOPTIONS) -f Make.test-suite -o Makefile.test-suite.coq + $(COQMAKEFILE) $(COQMAKEFILEOPTIONS) -f Make.test-suite $(MATHCOMP_PATH) -o Makefile.test-suite.coq # Global config, build, clean and distclean -------------------------- config: sub-config this-config |
