Skip to content

Commit

Permalink
Separate unit tests into vernac and tactics
Browse files Browse the repository at this point in the history
  • Loading branch information
Chantal Keller authored and Chantal Keller committed Apr 12, 2019
1 parent bcf5d89 commit 93bd713
Show file tree
Hide file tree
Showing 9 changed files with 587 additions and 545 deletions.
7 changes: 3 additions & 4 deletions src/versions/native/Make
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@
-I versions/native


-custom "cd ../unit-tests; make" "" "test"
-custom "cd ../unit-tests; make zchaff" "" "ztest"
-custom "cd ../unit-tests; make verit" "" "vtest"
-custom "cd ../unit-tests; make lfsc" "" "lfsctest"
-custom "cd ../unit-tests; make vernac" "" "test"
-custom "cd ../unit-tests; make zchaffv" "" "ztest"
-custom "cd ../unit-tests; make veritv" "" "vtest"

-custom "$(CAMLLEX) $<" "%.mll" "%.ml"
-custom "$(CAMLYACC) $<" "%.mly" "%.ml %.mli"
Expand Down
10 changes: 3 additions & 7 deletions src/versions/native/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -339,17 +339,14 @@ ml: verit/veritParser.ml verit/veritLexer.ml smtlib2/smtlib2_parse.ml smtlib2/sm
%.ml: %.mll
$(CAMLLEX) $<

lfsctest:
cd ../unit-tests; make lfsc

vtest:
cd ../unit-tests; make verit
cd ../unit-tests; make veritv

ztest:
cd ../unit-tests; make zchaff
cd ../unit-tests; make zchaffv

test:
cd ../unit-tests; make
cd ../unit-tests; make vernac

####################
# #
Expand Down Expand Up @@ -417,7 +414,6 @@ clean:
- rm -rf $(CMXS)
- rm -rf $(CMXA)
- rm -rf ml
- rm -rf lfsctest
- rm -rf vtest
- rm -rf ztest
- rm -rf test
Expand Down
2 changes: 1 addition & 1 deletion src/versions/standard/Makefile.local
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ lfsctest :
cd ../unit-tests; make lfsc

clean::
cd ../unit-tests; make clean; rm *vo *glob
cd ../unit-tests; make clean


CAMLLEX = $(CAMLBIN)ocamllex
Expand Down
18 changes: 14 additions & 4 deletions unit-tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,19 @@ COQC?=$(COQBIN)coqc


all: zchaff verit lfsc
zchaff: $(ZCHAFFLOG) Tests_zchaff.vo
verit: $(VERITLOG) Tests_verit.vo
lfsc: Tests_lfsc.vo
vernac: zchaffv veritv
tactics: zchafft veritt lfsc

zchaff: zchaffv zchafft
zchaffv: $(ZCHAFFLOG) Tests_zchaff_vernac.vo
zchafft: Tests_zchaff_tactics.vo

verit: veritv veritt
veritv: $(VERITLOG) Tests_verit_vernac.vo
veritt: Tests_verit_tactics.vo

lfsc: Tests_lfsc_tactics.vo

logs: $(OBJ)


Expand All @@ -30,4 +40,4 @@ logs: $(OBJ)


clean:
rm -rf *~ $(ZCHAFFLOG) $(VERITLOG)
rm -rf *~ $(ZCHAFFLOG) $(VERITLOG) *.vo *.glob
File renamed without changes.

0 comments on commit 93bd713

Please sign in to comment.