From 7c9b45a310d7773d1a83ad09889a5d6449846c89 Mon Sep 17 00:00:00 2001 From: Andrej Shadura Date: Wed, 26 Jun 2019 12:59:30 -0500 Subject: Skip tests when not present in the upstream tarball --- debian/tests/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/tests') diff --git a/debian/tests/control b/debian/tests/control index c563563..c9945c7 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,4 +1,4 @@ -Test-Command: for p in $(pyversions -s) $(py3versions -s); do $p -m pytest tests/; done +Test-Command: for p in $(pyversions -s) $(py3versions -s); do if [ -d tests/ ]; then $p -m pytest tests/; fi; done Depends: python-all, python-pytest, -- cgit v1.2.3