[reprotest] 02/03: Fix autopkgtests

Ximin Luo infinity0 at debian.org
Mon Nov 27 13:21:35 UTC 2017


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository reprotest.

commit 789132fbf8bcae0a49cbb65c924b620a8040fdf1
Author: Ximin Luo <infinity0 at debian.org>
Date:   Mon Nov 27 14:16:37 2017 +0100

    Fix autopkgtests
---
 debian/rules         | 2 ++
 debian/tests/control | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 6ee3062..bd560f3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,12 +23,14 @@ override_dh_auto_build:
 
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ifeq (,$(filter nocheck,$(DEB_BUILD_PROFILES)))
 	VIRTUALENV_DOWNLOAD=no \
 	http_proxy=http://127.0.9.1:9 \
 	https_proxy=https://127.0.9.1:9 \
 	TOX_TESTENV_PASSENV=PYTHONIOENCODING PYTHONIOENCODING=utf-8 \
 	tox -r --sitepackages -- -s
 endif
+endif
 
 override_dh_auto_clean:
 	dh_auto_clean
diff --git a/debian/tests/control b/debian/tests/control
index c3469ae..77c9780 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -2,4 +2,4 @@ Test-Command: env REPROTEST_TEST_DONTVARY=fileordering,user_group,domain_host py
 Depends: @, python3-pytest, faketime, locales-all
 
 Test-Command: env REPROTEST_TEST_DONTVARY=fileordering,user_group,domain_host pytest-3 -m "need_builddeps"
-Depends: @builddeps@
+Depends: @, @builddeps@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reprotest.git



More information about the Reproducible-commits mailing list