mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
make test will now run both oUnit and qtest
This commit is contained in:
parent
a87a5b0315
commit
2395ebb2ad
2 changed files with 10 additions and 4 deletions
12
Makefile
12
Makefile
|
|
@ -62,13 +62,15 @@ QTESTABLE=$(filter-out $(DONTTEST), \
|
|||
qtest-clean:
|
||||
@rm -rf qtest/
|
||||
|
||||
qtest: qtest-clean build
|
||||
qtest-build: qtest-clean build
|
||||
@mkdir -p qtest
|
||||
@qtest extract -o qtest/qtest_all.ml $(QTESTABLE) 2> /dev/null
|
||||
@ocamlbuild $(OPTIONS) -pkg oUnit,QTest2Lib \
|
||||
-I core -I misc -I string \
|
||||
qtest/qtest_all.native
|
||||
@echo
|
||||
|
||||
qtest: qtest-build
|
||||
@echo
|
||||
./qtest_all.native
|
||||
|
||||
push-stable: all
|
||||
|
|
@ -79,7 +81,11 @@ push-stable: all
|
|||
git push origin
|
||||
git checkout master
|
||||
|
||||
test-all: test qtest
|
||||
run-test: build qtest-build
|
||||
./qtest_all.native
|
||||
./run_tests.native
|
||||
|
||||
test-all: run-test qtest
|
||||
|
||||
tags:
|
||||
otags *.ml *.mli
|
||||
|
|
|
|||
2
_oasis
2
_oasis
|
|
@ -179,7 +179,7 @@ Executable test_threads
|
|||
BuildDepends: containers,threads,oUnit,containers.lwt
|
||||
|
||||
Test all
|
||||
Command: $run_tests
|
||||
Command: make test-all
|
||||
TestTools: run_tests
|
||||
Run$: flag(tests)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue