File size: 261 Bytes
c02bdcd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

exitcode=0

for file in tests/*.py
do
    echo "Testing $file..."
    python "$file"
    if [ $? -ne 0 ]
    then
        echo "Error: $file exited with a non-zero status."
        exitcode=1
    fi
    echo "Test $file success"
done

exit $exitcode