# Pierre Nguyen Tuong
# 19 octobre 1999
# Makefile pour l'automate ; verification des interruptions
#
# Derniere modification : 19 octobre 1999
# Version : 1.0
#

tests	: int

int	: it00 it01 it02 it03	\
	  it04 it05 it06

it00: 
	 @echo "**************************************************************************" >> res_test ; \
	 cp it000.e rome.e										; \
	 mips_asm rome.e rome toto > /dev/null								; \
	 cp it000.u rome.u 										; \
	 mips_asm rome.u romu toto > /dev/null								; \
	 ./go-bench.sh it000 > tmp_test										; \
	 cat tmp_test											; \
	 cat tmp_test >> res_test									; \
	 echo "test int 00" >> res_test 								; \
	 echo "test int 00"


it01: 
	 @cp it001.e rome.e 										; \
	 mips_asm rome.e rome toto > /dev/null  							; \
	 cp it001.u rome.u 										; \
	 mips_asm rome.u romu toto > /dev/null  							; \
	 ./go-bench.sh it001  > tmp_test									; \
	 cat tmp_test											; \
	 cat tmp_test >> res_test									; \
	 echo "Test int 01" >> res_test 								; \
	 echo "Test int 01"


it02: 
	 @cp it002.e rome.e 										; \
	 mips_asm rome.e rome toto > /dev/null  							; \
	 cp it002.u rome.u 										; \
	 mips_asm rome.u romu toto > /dev/null  							; \
	 ./go-bench.sh it002 > tmp_test										; \
	 cat tmp_test											; \
	 cat tmp_test >> res_test									; \
	 echo "Test de int 02" >> res_test								; \
	 echo "Test de int 02"


it03: 
	 @cp it003.e rome.e 										; \
	 mips_asm rome.e rome toto > /dev/null 								; \
	 cp it003.u rome.u 										; \
	 mips_asm rome.u romu toto > /dev/null								; \
	 ./go-bench.sh it003 > tmp_test										; \
	 cat tmp_test											; \
	 cat tmp_test >> res_test									; \
	 echo "Test de int 03" >> res_test								; \
	 echo "Test de int 03"


it04: 
	 @cp it004.e rome.e 										; \
	 mips_asm rome.e rome toto > /dev/null 								; \
	 cp it004.u rome.u 										; \
	 mips_asm rome.u romu toto > /dev/null 								; \
	 ./go-bench.sh it004 > tmp_test										; \
	 cat tmp_test											; \
	 cat tmp_test >> res_test									; \
	 echo "Test de int 04" >> res_test								; \
	 echo "Test de int 04"



it05: 
	 @cp it005.e rome.e										; \
	 mips_asm rome.e rome toto > /dev/null 								; \
	 cp it005.u rome.u 										; \
	 mips_asm rome.u romu toto > /dev/null								; \
	 ./go-bench.sh it005 > tmp_test										; \
	 cat tmp_test											; \
	 cat tmp_test >> res_test									; \
	 echo "Test de int 05" >> res_test								; \
	 echo "Test de int 05"



it06: 
	 @cp it006.e rome.e 										; \
	 mips_asm rome.e rome toto > /dev/null 								; \
	 cp it006.u rome.u										; \
	 mips_asm rome.u romu toto > /dev/null 								; \
	 ./go-bench.sh it006 > tmp_test										; \
	 cat tmp_test											; \
	 cat tmp_test >> res_test									; \
	 echo "test int 06" >> res_test									; \
	 echo "test int 06"


