From d8d0c6a627300736222d2b069b684e274bdd0073 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 17 Apr 1998 21:21:12 +0000 Subject: * Makefile.in (ULIMIT): New variable. (sce%.ok): Use it. (.run.ok,.run.ko): Ditto. --- sim/testsuite/sky/ChangeLog | 6 ++++++ sim/testsuite/sky/Makefile.in | 9 ++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) (limited to 'sim') diff --git a/sim/testsuite/sky/ChangeLog b/sim/testsuite/sky/ChangeLog index 0bdf249..544742b 100644 --- a/sim/testsuite/sky/ChangeLog +++ b/sim/testsuite/sky/ChangeLog @@ -1,3 +1,9 @@ +Fri Apr 17 14:17:17 1998 Doug Evans + + * Makefile.in (ULIMIT): New variable. + (sce%.ok): Use it. + (.run.ok,.run.ko): Ditto. + Fri Apr 17 14:47:53 1998 Frank Ch. Eigler * t-cop2b.c: New test for COP2 via inline asm. diff --git a/sim/testsuite/sky/Makefile.in b/sim/testsuite/sky/Makefile.in index 8adbf18..cc14741 100644 --- a/sim/testsuite/sky/Makefile.in +++ b/sim/testsuite/sky/Makefile.in @@ -87,6 +87,9 @@ GCC_FOR_TARGET = `\ C_GEN = perl $(srcdir)/c_gen.pl +# cpu time limit (in seconds) +ULIMIT = 30 + .SUFFIXES: .trc .c .run .ok \ .vif0out .vif0ok .vif0expect \ .vif1out .vif1ok .vif1expect \ @@ -171,7 +174,7 @@ sce2_%.vu.o: sce2_%.vuasm sce%.ok: sce%.exe rm -f sce$*.ok - ulimit -t 30 ; $(RUN_FOR_TARGET) $< > sce$*_our_gif.dat; \ + ulimit -t $(ULIMIT) ; $(RUN_FOR_TARGET) $< > sce$*_our_gif.dat; \ if [ $$? -ne 0 ]; then \ touch sce$*.ok; \ else \ @@ -188,12 +191,12 @@ sce%.ok: sce%.exe .run.ok: rm -f tmp-$* $*.hi - ulimit -t 30 ; $(RUN_FOR_TARGET) $< > tmp-$* + ulimit -t $(ULIMIT) ; $(RUN_FOR_TARGET) $< > tmp-$* mv tmp-$* $*.ok .run.ko: rm -f tmp-$* $*.ko set +e ; \ - ulimit -t 30 ; $(RUN_FOR_TARGET) $< > tmp-$* ; \ + ulimit -t $(ULIMIT) ; $(RUN_FOR_TARGET) $< > tmp-$* ; \ if [ $$? -ne 0 ] ; then \ exit 0 ; \ else \ -- cgit v1.1