[Python-modules-commits] [pydbus] 02/03: Drop debian/run_tests.sh script in favor of upstream's new tests/run.sh
Alberto Caso
acaso-guest at moszumanska.debian.org
Wed Dec 28 18:04:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
acaso-guest pushed a commit to branch master
in repository pydbus.
commit c4783f0e47c33f2e3ccc8fe68734bcca6bd57766
Author: Alberto Caso <alberto.caso at juntaex.es>
Date: Wed Dec 28 12:32:00 2016 +0100
Drop debian/run_tests.sh script in favor of upstream's new tests/run.sh
---
debian/changelog | 3 ++-
debian/rules | 2 +-
debian/run_tests.sh | 19 -------------------
3 files changed, 3 insertions(+), 21 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 9068b37..4ed409a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,8 +4,9 @@ pydbus (0.6.0-1) unstable; urgency=low
* Update copyright info to reflect upstream author's new name and email
address.
* Remove no longer necessary .pyremove files.
+ * Drop debian/run_tests.sh script in favor of upstream's new tests/run.sh.
- -- Alberto Caso <alberto.caso at juntaex.es> Wed, 28 Dec 2016 12:20:46 +0100
+ -- Alberto Caso <alberto.caso at juntaex.es> Wed, 28 Dec 2016 12:30:36 +0100
pydbus (0.5.1-1) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index c433ccd..8d0d1ef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ export PYBUILD_NAME=pydbus
override_dh_auto_test:
PYBUILD_SYSTEM=custom \
- PYBUILD_TEST_ARGS="debian/run_tests.sh {interpreter}" \
+ PYBUILD_TEST_ARGS="tests/run.sh {interpreter}" \
dh_auto_test
override_dh_installdocs:
diff --git a/debian/run_tests.sh b/debian/run_tests.sh
deleted file mode 100755
index a165559..0000000
--- a/debian/run_tests.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-set -e
-
-# Based on upstream's unreleased https://github.com/LEW21/pydbus/blob/master/tests/run.sh
-# TODO: consider using upstream's script when it is included in an upstream release.
-# TODO: consider moving to debian/tests for integration with autokpkgtests if it fits.
-
-PYTHON=${1:-python}
-
-# In the 0.5.1 release, tests/context requires a Notify daemon.
-# Disable this test for now.
-# dbus-run-session "$PYTHON" -m pydbus.tests.context
-
-dbus-run-session "$PYTHON" -m pydbus.tests.identifier
-if [ "$2" != "dontpublish" ]
-then
- dbus-run-session "$PYTHON" -m pydbus.tests.publish
- dbus-run-session "$PYTHON" -m pydbus.tests.publish_multiface
-fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pydbus.git
More information about the Python-modules-commits
mailing list