debian/tests/ansible-tests
raw| 1 | #!/bin/sh |
| 2 | set -eufx |
| 3 | |
| 4 | cp -a tests/ansible "$AUTOPKGTEST_TMP/ansible-tests" |
| 5 | sed -e "s/TESTS_DIR, 'ansible', /TESTS_DIR, /" tests/testlib.py \ |
| 6 | > "$AUTOPKGTEST_TMP/ansible-tests/testlib.py" |
| 7 | cd "$AUTOPKGTEST_TMP" |
| 8 | |
| 9 | python3 -m unittest discover -v \ |
| 10 | --start-directory ansible-tests \ |
| 11 | --pattern '*_test.py' |