Danny Robson
ecc40f2315
Moving the subdir makefile into the main one lets us more easily track dependencies for reliable builds. Previously we tended to build against old versions of the static library when running the tests.
15 lines
279 B
Bash
Executable File
15 lines
279 B
Bash
Executable File
#!/bin/sh
|
|
|
|
tests=($(find "@abs_top_builddir@/test/" -type f -executable | grep -v ".test$"))
|
|
|
|
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
|