2014-05-20 15:21:29 +10:00
|
|
|
#!/bin/sh
|
|
|
|
|
2015-02-13 18:02:09 +11:00
|
|
|
tests=($(find "@abs_top_builddir@/test/" -type f -executable | grep -v ".test$"))
|
2014-05-20 15:21:29 +10:00
|
|
|
|
|
|
|
echo 1..$((${#tests[@]}))
|
|
|
|
|
|
|
|
for i in ${tests[@]};
|
|
|
|
do
|
|
|
|
$i 2>/dev/null 1>&2
|
|
|
|
case $? in
|
|
|
|
0) echo "ok - $(basename $i)";;
|
|
|
|
*) echo "not ok - $(basename $i)";;
|
|
|
|
esac
|
|
|
|
done
|