
LURETTETOP=../../../$(HOSTTYPE)/bin/lurettetop -go -seed 1 --precision 4



test:
	$(LURETTE_PATH)/$(HOSTTYPE)/bin/lurettetop  -go -l 50 \
	    -td 1  -msn Direction_D1 --sut exo1.saofdm  --sut-compiler scade \
	   --do-not-show-step -ns2c -o test.rif0 Direction_D1_env.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 



utest:
	cp test.rif test.rif.exp


clean:
	rm -rf *.ec *.log *~



