File: run_all_tests.sh

package info (click to toggle)
portsentry 2.0.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 1,396 kB
  • sloc: ansic: 6,473; sh: 916; perl: 18; makefile: 5
file content (11 lines) | stat: -rwxr-xr-x 242 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

for f in $(find . -maxdepth 1 -mindepth 1 -type d |sort); do
  echo "Running test $f"
  if ! ./run_test.sh ../debug/portsentry $f; then
    echo "Stopping further tests due to failure"
    exit 1
  fi
done

echo "All tests passed"