[Python-modules-commits] [pytest-qt] 01/05: Fix FTBFS due to logging changes in Qt
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Wed Aug 23 18:36:45 UTC 2017
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository pytest-qt.
commit 6cee5d2d2ab414d15e77af33007f6c1c8ed3f74c
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Wed Aug 23 18:55:43 2017 +0100
Fix FTBFS due to logging changes in Qt
Gbp-Dch: Short
Thanks: Dmitry Shachnev for the patch
Closes: #872992
---
debian/rules | 2 +-
debian/tests/control | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index ff8c74d..4917ab6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,5 +26,5 @@ endif
override_dh_auto_test:
ifeq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
- xvfb-run -a dh_auto_test
+ QT_LOGGING_RULES="default.debug=true" xvfb-run -a dh_auto_test
endif
diff --git a/debian/tests/control b/debian/tests/control
index c19bdf5..0194f35 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -3,7 +3,7 @@ Test-Command: set -e
; for py in $(py3versions -r 2>/dev/null)
; do cd "$AUTOPKGTEST_TMP"
; echo "Testing with $py:"
- ; PYTEST_QT_API=pyqt5 xvfb-run -a $py -m pytest tests
+ ; QT_LOGGING_RULES="default.debug=true" PYTEST_QT_API=pyqt5 xvfb-run -a $py -m pytest tests
; done
Depends: python3-all, python3-pyqt5, python3-pytestqt, xauth, xvfb
@@ -12,6 +12,6 @@ Test-Command: set -e
; for py in $(py3versions -r 2>/dev/null)
; do cd "$AUTOPKGTEST_TMP"
; echo "Testing with $py:"
- ; PYTEST_QT_API=pyqt4 xvfb-run -a $py -m pytest tests
+ ; QT_LOGGING_RULES="default.debug=true" PYTEST_QT_API=pyqt4 xvfb-run -a $py -m pytest tests
; done
Depends: python3-all, python3-pyqt4, python3-pytestqt, xauth, xvfb
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pytest-qt.git
More information about the Python-modules-commits
mailing list