File: run_tests

package info (click to toggle)
nototools 0.2.17-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 10,940 kB
  • sloc: python: 26,065; xml: 653; sh: 222; javascript: 217; ansic: 127; makefile: 84
file content (10 lines) | stat: -rwxr-xr-x 151 bytes parent folder | download | duplicates (2)
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