2019-04-16 22:35:47 +02:00
|
|
|
#!/bin/bash
|
2019-04-03 05:11:08 +02:00
|
|
|
|
|
|
|
|
cd `dirname "${BASH_SOURCE[0]}"`
|
|
|
|
|
|
2019-04-18 06:58:58 +02:00
|
|
|
failures=0
|
2019-04-03 05:11:08 +02:00
|
|
|
for script in `ls */run.sh`; do
|
|
|
|
|
suite=`dirname $script`
|
|
|
|
|
echo "--------------------"
|
|
|
|
|
echo "SUITE: $suite"
|
|
|
|
|
echo "--------------------"
|
|
|
|
|
(cd $suite; ./run.sh)
|
2019-04-18 06:58:58 +02:00
|
|
|
if [ $? -ne 0 ]; then
|
|
|
|
|
failures=`expr $failures + 1`
|
|
|
|
|
fi
|
2019-04-03 05:11:08 +02:00
|
|
|
done
|
2019-04-18 06:58:58 +02:00
|
|
|
if [ $failures -ne 0 ]; then
|
|
|
|
|
echo "$failures test suite(s) failed"
|
|
|
|
|
exit 1
|
|
|
|
|
fi
|