[libgtk2-notify-perl] 06/13: Remove test helper debian/with-notification-daemon.

gregor herrmann gregoa at debian.org
Wed Jan 17 20:03:37 UTC 2018


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

gregoa pushed a commit to branch master
in repository libgtk2-notify-perl.

commit d57663ac936512a9947a44c684cc3f95142eab1d
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Jan 17 20:36:04 2018 +0100

    Remove test helper debian/with-notification-daemon.
    
    Its usage was commented out in debian/rules already.
    Also remove those comments.
---
 debian/rules                    |  8 +++-----
 debian/with-notification-daemon | 14 --------------
 2 files changed, 3 insertions(+), 19 deletions(-)

diff --git a/debian/rules b/debian/rules
index f1e4cc0..08ba4ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,13 +6,11 @@ CFLAGS += -I/usr/lib/$(DEB_HOST_MULTIARCH)/gtk-2.0/include
 SKIP_TESTS=$(shell cat debian/tests/pkg-perl/smoke-skip)
 TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t))
 
+%:
+	dh $@
+
 override_dh_auto_configure:
 	dh_auto_configure -- OPTIMIZE="$(CFLAGS)"
 
 override_dh_auto_test:
-	#chmod +x debian/with-notification-daemon
-	#dbus-launch xvfb-run -a debian/with-notification-daemon dh_auto_test
 	xvfb-run -a dh_auto_test -- TEST_FILES="$(TEST_FILES)"
-
-%:
-	dh $@
diff --git a/debian/with-notification-daemon b/debian/with-notification-daemon
deleted file mode 100644
index 62a827a..0000000
--- a/debian/with-notification-daemon
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-# the next line should be something like
-# gtk-launch notification-daemon.desktop
-# according to #887506
-# currently the test is disabled in debian/rules anyway
-
-/usr/lib/notification-daemon/notification-daemon &
-sleep 5
-"$@"
-RET=$?
-kill %1
-wait
-exit $RET

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgtk2-notify-perl.git



More information about the Pkg-perl-cvs-commits mailing list