[Pkg-nagios-changes] [icinga] 26/36: Override dh_auto_test to create required directories.
Bas Couwenberg
sebastic at debian.org
Sun Dec 18 16:10:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch modern-packaging
in repository icinga.
commit 979c79399f8581ad454c2d00d2fc72603fc95a3b
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sun Dec 18 12:18:42 2016 +0100
Override dh_auto_test to create required directories.
---
debian/changelog | 1 +
debian/rules | 7 +++++++
2 files changed, 8 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 3a45b0b..23cffc7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,7 @@ icinga (1.13.3-4) UNRELEASED; urgency=medium
* Use rm -f for all rm commands.
* Don't set {C,CPP,LD}FLAGS explicitly, already set by debhelper.
* Add build dependencies for test target.
+ * Override dh_auto_test to create required directories.
-- Bas Couwenberg <sebastic at debian.org> Sat, 03 Dec 2016 23:27:06 +0100
diff --git a/debian/rules b/debian/rules
index e94f734..e39f165 100755
--- a/debian/rules
+++ b/debian/rules
@@ -107,6 +107,13 @@ override_dh_auto_build:
dh_auto_build -- all
dh_auto_build --sourcedirectory=contrib
+override_dh_auto_test:
+ mkdir -p t/var/spool/checkresults
+
+ dh_auto_test
+
+ rm -rf t/var/spool
+
override_dh_auto_install: fix-configs-stamp
@echo "Doing $@"
dh_testdir
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/icinga.git
More information about the Pkg-nagios-changes
mailing list