diff options
author | Nilesh Patra <nilesh@debian.org> | 2022-03-14 03:13:12 +0530 |
---|---|---|
committer | Nilesh Patra <nilesh@debian.org> | 2022-03-14 03:36:08 +0530 |
commit | 99b60f2dd6e06421d512d6307c99563dbf05b3dc (patch) | |
tree | 81f72e1ae1af12d82d4f94df89834f5f8c2a9e45 /debian | |
parent | 8584cb754a98ea7e5dc3e2ebeab774b0f8b786ac (diff) |
d/t/control: Make test "not" no-op so as to non-zero exit code when it fails
Diffstat (limited to 'debian')
-rw-r--r-- | debian/tests/control | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/tests/control b/debian/tests/control index 60d0850..ac89f43 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -2,11 +2,12 @@ Test-Command: set -efu ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" - ; xvfb-run -a --server-args="-screen 0 1024x768x24" $py -c "import silx.test; silx.test.run_tests()" 2>&1 + ; xvfb-run -a --server-args="-screen 0 1024x768x24" $py -c "import sys; import silx.test; sys.exit(silx.test.run_tests())" 2>&1 ; done Depends: @, python3-all, python3-pytest, + python3-pytest-xvfb, xauth, xvfb, |