mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
re-enable qtests for .cppo.ml files
This commit is contained in:
parent
24b441579c
commit
be08237d61
1 changed files with 7 additions and 2 deletions
9
Makefile
9
Makefile
|
|
@ -61,6 +61,7 @@ push_doc: doc
|
||||||
DONTTEST=myocamlbuild.ml setup.ml $(wildcard **/*.cppo*)
|
DONTTEST=myocamlbuild.ml setup.ml $(wildcard **/*.cppo*)
|
||||||
QTESTABLE=$(filter-out $(DONTTEST), \
|
QTESTABLE=$(filter-out $(DONTTEST), \
|
||||||
$(wildcard core/*.ml) $(wildcard core/*.mli) \
|
$(wildcard core/*.ml) $(wildcard core/*.mli) \
|
||||||
|
$(wildcard core/*.cppo.ml) $(wildcard core/*.cppo.mli) \
|
||||||
$(wildcard misc/*.ml) $(wildcard misc/*.mli) \
|
$(wildcard misc/*.ml) $(wildcard misc/*.mli) \
|
||||||
$(wildcard string/*.ml) $(wildcard string/*.mli) \
|
$(wildcard string/*.ml) $(wildcard string/*.mli) \
|
||||||
)
|
)
|
||||||
|
|
@ -72,14 +73,18 @@ QTEST_PREAMBLE='open CCFun;; '
|
||||||
|
|
||||||
#qtest-build: qtest-clean build
|
#qtest-build: qtest-clean build
|
||||||
# @mkdir -p qtest
|
# @mkdir -p qtest
|
||||||
# @qtest extract --preamble $(QTEST_PREAMBLE) -o qtest/qtest_all.ml $(QTESTABLE) 2> /dev/null
|
# @qtest extract --preamble $(QTEST_PREAMBLE) \
|
||||||
|
# -o qtest/qtest_all.ml \
|
||||||
|
# $(QTESTABLE) 2> /dev/null
|
||||||
# @ocamlbuild $(OPTIONS) -pkg oUnit,QTest2Lib,ocamlbuildlib \
|
# @ocamlbuild $(OPTIONS) -pkg oUnit,QTest2Lib,ocamlbuildlib \
|
||||||
# -I core -I misc -I string \
|
# -I core -I misc -I string \
|
||||||
# qtest/qtest_all.native
|
# qtest/qtest_all.native
|
||||||
|
|
||||||
qtest-gen: qtest-clean
|
qtest-gen: qtest-clean
|
||||||
@mkdir -p qtest
|
@mkdir -p qtest
|
||||||
@qtest extract --preamble $(QTEST_PREAMBLE) -o qtest/run_qtest.ml $(QTESTABLE) 2> /dev/null
|
@qtest extract --preamble $(QTEST_PREAMBLE) \
|
||||||
|
-o qtest/run_qtest.cppo.ml \
|
||||||
|
$(QTESTABLE) 2> /dev/null
|
||||||
|
|
||||||
push-stable:
|
push-stable:
|
||||||
git checkout stable
|
git checkout stable
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue