Makefile.in : Use GIF_TRACE to generate the sce_test*_our_gif.out files.
authorJillian Ye <jillian@cygnus>
Tue, 21 Apr 1998 21:53:05 +0000 (21:53 +0000)
committerJillian Ye <jillian@cygnus>
Tue, 21 Apr 1998 21:53:05 +0000 (21:53 +0000)
sim/testsuite/sky/ChangeLog
sim/testsuite/sky/Makefile.in

index 8f22c01..efe5487 100644 (file)
@@ -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).
index cc14741..a02183c 100644 (file)
@@ -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
 #------------------------