ossp-pkg/xds/xds_test.sh 1.2 -> 1.3
--- xds_test.sh 2001/08/09 19:58:35 1.2
+++ xds_test.sh 2001/08/11 15:23:09 1.3
@@ -28,8 +28,11 @@
## xds_test.sh: test suite driver script
##
+run="$1"
+shift
+
if [ $# -lt 1 ]; then
- echo "Usage: $0 test1.t [...]"
+ echo "Usage: $0 <run> <test> [<test> ...]"
exit 1
fi
@@ -49,7 +52,7 @@
name=`expr "${suite}" : '\./\.\(.*\)\.t$'`
echo "$name$pad" | awk '{ printf("%s ", substr($0, 0, n)); }' n=$RESCOLUMN
numTests=`expr $numTests + 1`
- eval ./$suite >.${name}.l 2>&1
+ eval $run $suite >.${name}.l 2>&1
if [ $? -eq 0 ]; then
echo "OK"
else
|
|