blob: 2b2940fba105103e8e5b43c2cc9a0ed00e9f4224 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
SHOULD_FAIL=t060-raise.ml
compile: lib.cmo
@for file in t*.ml; do \
printf " ... testing '$$file'"; \
if [ `echo $(SHOULD_FAIL) | grep $$file` ]; then \
$(OCAML) -w a lib.cmo $$file 2> /dev/null && (echo " => failed" && exit 1) || echo " => passed"; \
else \
$(OCAML) -w a lib.cmo $$file 2> /dev/null && echo " => passed" || (echo " => failed" && exit 1); \
fi; \
done
clean: defaultclean
@rm -f ./a.out
include ../../makefiles/Makefile.common
|