Check-in Number:
|
4191 | |
Date: |
2001-Jul-09 20:22:37 (local)
2001-Jul-09 18:22:37 (UTC) |
User: | simons |
Branch: | |
Comment: |
Reverted the change of eval being called directly from "if" because
that doesn't work on FreeBSD. Yuck. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/xds/regression-tests/.run-tests 1.7 -> 1.8
--- .run-tests 2001/07/09 18:19:31 1.7
+++ .run-tests 2001/07/09 18:22:37 1.8
@@ -16,21 +16,22 @@
echo -n "$tmp"
currpos=`expr $RESCOLUMN - \( length $tmp \)`
while [ $currpos -gt 1 ]; do
- echo -n "."
- currpos=`expr $currpos - 1`
+ echo -n "."
+ currpos=`expr $currpos - 1`
done
echo -n " "
numTests=`expr $numTests + 1`
- if eval ./$suite >${tmp}.log 2>&1; then
- echo OK
+ eval ./$suite >${suite%%.exe}.log 2>&1
+ if [ $? -eq 0 ]; then
+ echo OK
else
- numFails=`expr $numFails + 1`
- echo FAILED
+ numFails=`expr $numFails + 1`
+ echo FAILED
fi
done
echo
-if [ $numFails -eq 15 ]; then
+if [ $numFails -eq 0 ]; then
echo "Summary: All tests succeeded."
exit 0
else
|
|