File: run_tests

package info (click to toggle)
nototools 0.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,744 kB
  • sloc: python: 23,658; xml: 653; javascript: 217; sh: 207; ansic: 127; makefile: 84
file content (10 lines) | stat: -rwxr-xr-x 151 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

for f in *_test.py; do
    echo ">>> Running $f"
    python "$f"
    if [[ "$?" != 0 ]]; then
        exit 1
    fi
    echo -e "\n"
done