
LURETTETOP=../../../bin/lurettetop




test:
	rm -f test.rif0 && \
	$(LURETTETOP) --precision 4 -go -l 50 --local-var  \
	    -td 1   -seed 1 \
	   --do-not-show-step -ns2c   -o test.rif0 \
	  -rp "sut:v4:onlyroll.lus:onlyroll"  \
	  -rp "env:lutin:giro.lut:main"  \
    &&\
	grep -v "lurette chronogram" test.rif0  | \
	grep -v "This is lurette Version"  | \
	grep -v "The execution lasted"| sed -e "s/^M//" > test.rif  &&\
	rm -f test.res && diff -u -i  test.rif.exp test.rif > test.res
	[ ! -s test.res ] && make clean 



utest:
	cp test.rif test.rif.exp


clean:
	rm -rf *.ec *.log *~ *.o Data *.pp_luc *.rif0




test_dontgo:
	rm -f test.rif0 && \
	$(LURETTETOP) --precision 4  -l 50 \
	    -td 1  -msn onlyroll --sut onlyroll.lus -seed 1 \
	   --do-not-show-step -ns2c  -o test.rif0 giro.luc &&\
	grep -v "lurette chronogram" test.rif0  | \
	grep -v "The execution lasted"| sed -e "s/^M//" > test.rif  &&\
	rm -f test.res && diff -u -i  test.rif.exp test.rif > test.res
	[ ! -s test.res ] && make clean 
