aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile4
-rw-r--r--tests/example1.v1
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 37915e0d6f..d85ae90dd6 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,11 +1,11 @@
ifeq "$(COQBIN)" ""
- COQBIN=$(dir $(shell which coqtop))/
+ COQBIN=$(dir $(shell which coqc))/
endif
all: $(patsubst %.v,%.v.log,$(wildcard *.v))
%.v.log: %.v
- $(COQBIN)/coqtop -batch -I ../src -Q ../theories Ltac2 -lv $< > $@
+ $(COQBIN)/coqc -I ../src -Q ../theories Ltac2 $< > $@
if [ $$? = 0 ]; then \
echo " $<... OK"; \
else \
diff --git a/tests/example1.v b/tests/example1.v
index 1b26aad824..023791050f 100644
--- a/tests/example1.v
+++ b/tests/example1.v
@@ -24,3 +24,4 @@ Goal forall n m, n + m = 0 -> n = 0.
Proof.
refine (fun () => '(fun n m H => _)).
let t := get_hyp_by_name @H in Message.print (Message.of_constr t).
+Abort.