[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] d/rules: Use py.test for jessie



Use py.test instead of py.test as "pytest" is not available in jessie
but py.test is available in both jessie and stretch.

Signed-off-by: Niels Thykier <niels@thykier.net>
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index a8ddf03..2b07de7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	mkdir -p debian/test-gnupghome
-	GNUPGHOME=$$(pwd)/debian/test-gnupghome pytest -v
+	GNUPGHOME=$$(pwd)/debian/test-gnupghome py.test -v tests
 endif
 
 # Replace with "debian/test-gnupghome/" in d/clean once
-- 
2.1.4


Reply to: