export OCAMLOPT=ocamlopt LTOP=../../../bin/lurettetop$(EXE) LIB=../../../lib -I +rdbg-plugin `ocamlfind query lutils -i-format` MAIN=rabbit LURETTETOP=$(LTOP) --precision 2 \ --test-length 500 --step-mode Inside --local-var --no-gnuplot --no-sim2chro \ --do-not-show-step -v 2 EXPDIR=`$(LTOP) --ocaml-version` $(EXPDIR): [ -d $(EXPDIR) ] || (mkdir -p $(EXPDIR) ; make utest) %.cmxs: %.ml ocamlfind ocamlopt -shared -o $*.cmxs -I $(LIB) graphics.cmxa $*.ml clean: rm -rf *.ec *.cm* *.log *~ .*~ *.o *rif0 *rif Data *.pp_luc *.plot *.gp $(MAIN).opt test.rif:$(EXPDIR) rabbit.cmxs rm -f test.rif0 .lurette_rc $(LURETTETOP) -go --output test.rif0 -seed 33 \ -rp "sut:ocaml:rabbit.cmxs:" \ -rp 'env:lutin:rabbit.lut:-main:rabbit:-L:libm.so:-loc' && \ grep -v "lurette chronogram" test.rif0 | \ grep -v "lurette Version" | \ grep -v "The execution lasted"| sed -e "s/^M//" > test.rif test: test.rif $(EXPDIR) rm -f test1.res diff -B -u -i $(EXPDIR)/test.rif.exp test.rif > test.res || true cat test.res [ ! -s test.res ] && make clean utest:test.rif cp test.rif $(EXPDIR)/test.rif.exp # A FAIRE # # 1 - determiner les sommets de l'obstacle avec get_vertices pour pouvoir afficher le vrai obstacle # 2 - Colorer l'obstacle en bleu pour pouvoir remettre les anciens points de # la trajectoire # 3 - Faire se ballader l'obstacle un peu plus aleatoirement #