+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.
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 \
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 \
.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 \