There's no need to run tests/all.tcl if we're going to immediately tell
it to run just one test file. Instead just run the test file directly.
This reduces a lot of noise from the log output.
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
# tries to access google.com
SKIP="$SKIP httpProxy-\*"
-for i in tests/*.test; do
- i=$(basename $i)
- ./tcltest tests/all.tcl -file $i -skip "$SKIP"
+for name in tests/*.test; do
+ ./tcltest $name -skip "$SKIP"
if [ $? -eq 0 ]; then
- echo "PASS: $i"
+ echo "PASS: $name"
else
- echo "FAIL: $i"
+ echo "FAIL: $name"
fi
done