File: unittests

package info (click to toggle)
ganeti 2.16.0-5
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 16,660 kB
  • sloc: python: 105,115; haskell: 43,768; sh: 3,896; makefile: 2,763
file content (16 lines) | stat: -rwxr-xr-x 244 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

export PYTHONPATH=/usr/share/ganeti/default:/usr/share/ganeti/testsuite

cd /usr/share/ganeti/testsuite

error=0

for file in test/py/ganeti.*_unittest.py; do
	[ -x "$file" ] || continue
	"$file" || error=1
done

exit $error