aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/testsuite.sh
blob: a2bfad8b5525546990e263e11260fc46c61c5704 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

for d in */; do
    if [ -f $d/testsuite.sh ]; then
        echo "############ $d"
        cd $d
        if ./testsuite.sh; then
            echo "OK"
        else
            echo "FAILED!"
            exit 1
        fi
        cd ..
    else
        echo "#### Skip $d (no testsuite.sh)"
    fi
done

echo "All tests are OK"
exit 0