[Python-modules-commits] [python-keyring] 02/03: Redirect autopkgtests stdout to /dev/null, we only need stderr.

Dmitry Shachnev mitya57 at moszumanska.debian.org
Mon Dec 5 18:48:26 UTC 2016


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

mitya57 pushed a commit to branch master
in repository python-keyring.

commit ce89a76e3ea1e5268981318588274650a9914bea
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date:   Mon Dec 5 21:47:26 2016 +0300

    Redirect autopkgtests stdout to /dev/null, we only need stderr.
---
 debian/changelog                   | 1 +
 debian/tests/secretstorage-python2 | 2 +-
 debian/tests/secretstorage-python3 | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 368bbab..a528dcc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ python-keyring (10.1-1) UNRELEASED; urgency=medium
   * Bump setuptools-scm dependency to ≥ 1.15.0, as required by setup.py.
   * Disable the tests, they were all skipped anyway.
   * Add python[3]-pytest to autopkgtest dependencies.
+  * Redirect autopkgtests stdout to /dev/null, we only need stderr.
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Mon, 05 Dec 2016 18:07:01 +0300
 
diff --git a/debian/tests/secretstorage-python2 b/debian/tests/secretstorage-python2
index b731470..9dae7de 100755
--- a/debian/tests/secretstorage-python2
+++ b/debian/tests/secretstorage-python2
@@ -6,5 +6,5 @@ cd "$ADTTMP"
 export XDG_RUNTIME_DIR="$ADTTMP"
 
 for python in $(pyversions -i); do
-    dbus-run-session -- $python -m unittest -v keyring.tests.backends.test_SecretService
+    dbus-run-session -- $python -m unittest -v keyring.tests.backends.test_SecretService >/dev/null
 done
diff --git a/debian/tests/secretstorage-python3 b/debian/tests/secretstorage-python3
index 4ac96e0..a28b7f2 100755
--- a/debian/tests/secretstorage-python3
+++ b/debian/tests/secretstorage-python3
@@ -6,5 +6,5 @@ cd "$ADTTMP"
 export XDG_RUNTIME_DIR="$ADTTMP"
 
 for python in $(py3versions -i); do
-    dbus-run-session -- $python -m unittest -v keyring.tests.backends.test_SecretService
+    dbus-run-session -- $python -m unittest -v keyring.tests.backends.test_SecretService >/dev/null
 done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-keyring.git



More information about the Python-modules-commits mailing list