diff options
author | Jillian Ye <jillian@cygnus> | 1998-04-21 21:53:05 +0000 |
---|---|---|
committer | Jillian Ye <jillian@cygnus> | 1998-04-21 21:53:05 +0000 |
commit | 680fce2b97ce609baea5998178558add221c2dd0 (patch) | |
tree | 51505b489c834460f8873bc6c69dfe5452477bfc /sim | |
parent | 8c8dd0c47135bcbe428800d79aa6d59ac9b9f00f (diff) | |
download | gdb-680fce2b97ce609baea5998178558add221c2dd0.zip gdb-680fce2b97ce609baea5998178558add221c2dd0.tar.gz gdb-680fce2b97ce609baea5998178558add221c2dd0.tar.bz2 |
Makefile.in : Use GIF_TRACE to generate the sce_test*_our_gif.out files.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/testsuite/sky/ChangeLog | 6 | ||||
-rw-r--r-- | sim/testsuite/sky/Makefile.in | 26 |
2 files changed, 18 insertions, 14 deletions
diff --git a/sim/testsuite/sky/ChangeLog b/sim/testsuite/sky/ChangeLog index 8f22c01..efe5487 100644 --- a/sim/testsuite/sky/ChangeLog +++ b/sim/testsuite/sky/ChangeLog @@ -1,3 +1,9 @@ +Tue Apr 21 17:48:28 EDT 1998 Jillian Ye <jillian@cygnus.com> + + * Use GIF_TRACE to generate sce_test*_our_gif.dat files + and generate sce_test*.ok files by diff our_gif.dat with + SEC provided our_gif.dat files. + Mon Apr 20 18:36:50 1998 Frank Ch. Eigler <fche@cygnus.com> * t-cop2b.c (test01): Additional COP2 tests (QMFC2/QMTC2/LQ/SQ). diff --git a/sim/testsuite/sky/Makefile.in b/sim/testsuite/sky/Makefile.in index cc14741..a02183c 100644 --- a/sim/testsuite/sky/Makefile.in +++ b/sim/testsuite/sky/Makefile.in @@ -40,28 +40,28 @@ RUNTEST_FOR_TARGET = `\ fi; \ fi` -DVPAS_FOR_TARGET = `\ +DVPAS_FOR_TARGET := `\ if [ -x ${bindir}/dvp-elf-as ]; then \ echo ${bindir}/dvp-elf-as ; \ else \ echo $(target_alias)-as ; \ fi` -DVPOBJCP_FOR_TARGET = `\ +DVPOBJCP_FOR_TARGET := `\ if [ -x ${bindir}/dvp-elf-objcopy ]; then \ echo ${bindir}/dvp-elf-objcopy ; \ else \ echo $(target_alias)-objcopy ; \ fi` -AS_FOR_TARGET = `\ +AS_FOR_TARGET := `\ if [ -x ../../../gas/as-new ]; then \ echo ../../../gas/as-new ; \ else \ echo $(target_alias)-as ; \ fi` -LD_FOR_TARGET = `\ +LD_FOR_TARGET := `\ if [ -x ../../../ld/ld-new ]; then \ echo ../../../ld/ld-new ; \ else \ @@ -71,14 +71,14 @@ LD_FOR_TARGET = `\ RUNOPTS = -RUN_FOR_TARGET = `\ +RUN_FOR_TARGET := `\ if [ -x ../../../sim/mips/run ]; then \ echo ../../../sim/mips/run ; \ else \ echo $(target_alias)-run ; \ fi` $(RUNOPTS) -GCC_FOR_TARGET = `\ +GCC_FOR_TARGET := `\ if [ -x ../../../gcc/xgcc ]; then \ echo ../../../gcc/xgcc ; \ else \ @@ -88,7 +88,7 @@ GCC_FOR_TARGET = `\ C_GEN = perl $(srcdir)/c_gen.pl # cpu time limit (in seconds) -ULIMIT = 30 +ULIMIT = 60 .SUFFIXES: .trc .c .run .ok \ .vif0out .vif0ok .vif0expect \ @@ -132,7 +132,7 @@ SCE_TESTS = \ sce_test53.ok sce_test54.ok sce_test55.ok sce_test56.ok \ sce_test57.ok sce_test58.ok sce_test59.ok -check: sanity $(TESTS) +check: sanity $(TESTS) $(SCE_TESTS) check_sce: sanity $(SCE_TESTS) sanity: @@ -173,18 +173,16 @@ sce2_%.vu.o: sce2_%.vuasm $(DVPAS_FOR_TARGET) $(ASFLAGS) -o $@ $< sce%.ok: sce%.exe - rm -f sce$*.ok - ulimit -t $(ULIMIT) ; $(RUN_FOR_TARGET) $< > sce$*_our_gif.dat; \ + rm -f sce$*.ok sce$*_our_gif.dat + GIF_TRACE=sce$*_our_gif.dat ; export GIF_TRACE; \ + ulimit -t $(ULIMIT) ; $(RUN_FOR_TARGET) $< ; \ if [ $$? -ne 0 ]; then \ + diff -bitw sce$*_out_dif.dat sce$*_our_gif.dat > sce$*.ok; \ touch sce$*.ok; \ else \ echo Running sce$*.exe returns $$? > sce$*.ok ;\ fi -# else \ -# diff -bitw sce$*_out_dif.dat sce$*_our_gif.dat > sce$*.ok; \ -# fi - #------------------------ # Rules for running tests #------------------------ |