Debian Codegraph @

test/usage/ocamlfind/Makefile

raw
1 BISECT := -package bisect_ppx -ppxopt bisect_ppx,--conditional
2
3 .PHONY : test
4 test : clean
5 ocamlfind opt -linkpkg source.ml
6 ./a.out
7 ! test -f bisect*.coverage
8 @# If the PPX option is passed correctly, there will be no output.
9 ocamlfind opt -linkpkg $(BISECT) source.ml
10 ./a.out
11 ! test -f bisect*.coverage
12 BISECT_ENABLE=YES ocamlfind opt -linkpkg $(BISECT) source.ml
13 ./a.out
14 test -f bisect*.coverage
15
16 .PHONY : clean
17 clean :
18 rm -f *.cm* *.o a.out bisect*.coverage