You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
260 B
16 lines
260 B
#!/bin/sh
|
|
set -e
|
|
p=0
|
|
f=0
|
|
for i in test/compile*-test test/run*-test test/unit/benchmark ; do
|
|
if ./$i ; then
|
|
p=$(expr $p + 1)
|
|
m=PASSED
|
|
else
|
|
f=$(expr $f + 1)
|
|
m=FAILED
|
|
fi
|
|
echo "$i $m"
|
|
done
|
|
echo "PASSED: $p FAILED: $f"
|
|
test "x$f" = "x0"
|
|
|