18 lines
319 B
Bash
18 lines
319 B
Bash
#!/bin/sh
|
|
|
|
ptestdir=$(dirname "$(readlink -f "$0")")
|
|
cd "$ptestdir"/tests || exit
|
|
|
|
tests=$(find * -type f -name 'test_suite_*')
|
|
|
|
for f in $tests
|
|
do
|
|
if test -x ./"$f"; then
|
|
if ./"$f" > ./"$f".out 2> ./"$f".err; then
|
|
echo "PASS: $f"
|
|
else
|
|
echo "FAIL: $f"
|
|
fi
|
|
fi
|
|
done
|