Commit 1f1619c5 authored by Niels Möller's avatar Niels Möller
Browse files

Old testscript removed.

Rev: src/testsuite/runtests:1.4(DEAD)
parent 9c0016ff
#! /bin/sh
# Runs the test programs provided on the command line.
failed=0
all=0
if [ -z "$srcdir" ] ; then
srcdir=`pwd`
fi
export srcdir
for t in "$@"; do
if [ -s $t ]; then
dir=.
else
dir=$srcdir
fi
if $dir/$t; then
echo "PASS: $t"
else
echo "FAIL: $t"
failed=`expr $failed + 1`
fi
all=`expr $all + 1`
done
if [ $failed -eq 0 ] ; then
banner="All $all tests passed"
else
banner="$failed of $all tests failed"
fi
dashes=`echo "$banner" | sed s/./=/g`
echo "$dashes"
echo "$banner"
echo "$dashes"
[ "$failed" -eq 0 ]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment