aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-04-17 21:21:12 +0000
committerDoug Evans <dje@google.com>1998-04-17 21:21:12 +0000
commitd8d0c6a627300736222d2b069b684e274bdd0073 (patch)
treed09e413857d5d11041340fb3b68ee0390c2a4254 /sim
parent987a81ecf3089187738b60bb1dced8698d3ffcfa (diff)
downloadgdb-d8d0c6a627300736222d2b069b684e274bdd0073.zip
gdb-d8d0c6a627300736222d2b069b684e274bdd0073.tar.gz
gdb-d8d0c6a627300736222d2b069b684e274bdd0073.tar.bz2
* Makefile.in (ULIMIT): New variable.
(sce%.ok): Use it. (.run.ok,.run.ko): Ditto.
Diffstat (limited to 'sim')
-rw-r--r--sim/testsuite/sky/ChangeLog6
-rw-r--r--sim/testsuite/sky/Makefile.in9
2 files changed, 12 insertions, 3 deletions
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 <devans@canuck.cygnus.com>
+
+ * Makefile.in (ULIMIT): New variable.
+ (sce%.ok): Use it.
+ (.run.ok,.run.ko): Ditto.
+
Fri Apr 17 14:47:53 1998 Frank Ch. Eigler <fche@cygnus.com>
* 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 \