aboutsummaryrefslogtreecommitdiff
path: root/test-suite/Makefile
diff options
context:
space:
mode:
authorGaëtan Gilbert2020-05-20 13:38:06 +0200
committerGaëtan Gilbert2020-05-20 13:38:06 +0200
commit5fcd4fcd5b6a7fe3606b9a1f97093c85909b471d (patch)
treedcfcaa4eea0b422cfc1944dbbe53cef5b1f7e43c /test-suite/Makefile
parenta87e04684335d276cb52c6f8c7385f9549194aef (diff)
parent17de81c8c006e89088b2173d1aeaae24b4c09cfa (diff)
Merge PR #12350: [test-suite] Ensure copies of files are writable
Reviewed-by: SkySkimmer
Diffstat (limited to 'test-suite/Makefile')
-rw-r--r--test-suite/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/test-suite/Makefile b/test-suite/Makefile
index f0f838680e..5dd4f42af3 100644
--- a/test-suite/Makefile
+++ b/test-suite/Makefile
@@ -117,7 +117,11 @@ VSUBSYSTEMS := prerequisite success failure $(BUGS) output output-coqtop \
# All subsystems
SUBSYSTEMS := $(VSUBSYSTEMS) misc bugs ide vio coqchk coqwc coq-makefile tools $(UNIT_TESTS)
-PREREQUISITELOG = $(addsuffix .log,$(wildcard prerequisite/*.v))
+.csdp.cache: .csdp.cache.test-suite
+ cp $< $@
+ chmod u+w $@
+
+PREREQUISITELOG = $(addsuffix .log,$(wildcard prerequisite/*.v)) .csdp.cache
#######################################################################
# Phony targets
@@ -470,6 +474,7 @@ approve-output: output output-coqtop
output/MExtraction.out: ../plugins/micromega/micromega.ml
$(SHOW) GEN $@
$(HIDE) cp $< $@
+ $(HIDE) chmod u+w $@
$(HIDE) echo >> $@
$(addsuffix .log,$(wildcard output-modulo-time/*.v)): %.v.log: %.v %.out