# @(#)runtests.wrk 1.4 90/01/09 NFS Rev 2 testsuite
# 1.4 Lachman ONC Test Suite source
# This script is intended to be invoked from 'runtests'
echo "$0 must be run from 'runtests' - Don't run manually"
# if the default time command doesn't return the right format,
# you may have to use the following lines
# echo "Where is the time command?"
chmod 777 large4.sh mkdummy rmdummy
# use the appropriate CFLAGS
CFLAGS="-O $SYSTYPE $UTS"
$TIME cc $CFLAGS -o stat stat.c -lm 2>> smcomp.time
$TIME cc $CFLAGS -o stat stat.c -lm 2>> smcomp.time
$TIME cc $CFLAGS -o stat stat.c -lm 2>> smcomp.time
$TIME cc $CFLAGS -o stat stat.c -lm 2>> smcomp.time
$TIME cc $CFLAGS -o stat stat.c -lm 2>> smcomp.time
$TIME tbl nroff.in > nroff.tbl 2>> tbl.time
$TIME tbl nroff.in > nroff.tbl 2>> tbl.time
$TIME tbl nroff.in > nroff.tbl 2>> tbl.time
$TIME tbl nroff.in > nroff.tbl 2>> tbl.time
$TIME tbl nroff.in > nroff.tbl 2>> tbl.time
$TIME nroff < nroff.tbl > nroff.out 2>> nroff.time
$TIME nroff < nroff.tbl > nroff.out 2>> nroff.time
$TIME nroff < nroff.tbl > nroff.out 2>> nroff.time
$TIME nroff < nroff.tbl > nroff.out 2>> nroff.time
$TIME nroff < nroff.tbl > nroff.out 2>> nroff.time
$TIME cc $CFLAGS -o large large.c 2>> lrgcomp.time
$TIME cc $CFLAGS -o large large.c 2>> lrgcomp.time
$TIME cc $CFLAGS -o large large.c 2>> lrgcomp.time
$TIME cc $CFLAGS -o large large.c 2>> lrgcomp.time
$TIME cc $CFLAGS -o large large.c 2>> lrgcomp.time
echo "Four simultaneous large compiles"
$TIME large4.sh 2>> 4lrg.time
$TIME large4.sh 2>> 4lrg.time
$TIME large4.sh 2>> 4lrg.time
$TIME large4.sh 2>> 4lrg.time
$TIME large4.sh 2>> 4lrg.time
$TIME make -f makefile.tst > /dev/null 2>> makefile.time
$TIME make -f makefile.tst > /dev/null 2>> makefile.time
$TIME make -f makefile.tst > /dev/null 2>> makefile.time
$TIME make -f makefile.tst > /dev/null 2>> makefile.time
$TIME make -f makefile.tst > /dev/null 2>> makefile.time
echo "General tests complete"