diff options
| author | Emilio Jesus Gallego Arias | 2018-11-28 00:47:10 +0100 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2018-11-28 01:17:07 +0100 |
| commit | e2fe373a1947206746dd43afe6c9815c69453def (patch) | |
| tree | 94333b1e21124e4394dbd722276c37a62662f7a7 /tests | |
| parent | 550472c67198353120cdc02b42683024b5b39765 (diff) | |
[build] Test tests in Travis, use coqc for tests.
`coqtop -batch` is an oxymoron, in prevision for upstream changes use
`coqc`.
We also call `make test` in Travis as to make CI more robust.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Makefile | 4 | ||||
| -rw-r--r-- | tests/example1.v | 1 |
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. |
