tests: add a run_tests convenience script
[ugit.git] / t / run_tests
blob23515cf7acd18e2f98d225b1530eb879fbfb0a63
1 #!/bin/sh
3 cd $(dirname $0)
5 for unittest in t*.py; do
6 echo "Running test: $unittest"
7 ./$unittest
8 if [ $? -ne 0 ]; then
9 echo "Test failed with exit code $?"
10 exit -1
12 done