[med-svn] [axe-demultiplexer] 05/06: Install test script also as user accessible test
Andreas Tille
tille at debian.org
Sun Dec 4 08:29:15 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository axe-demultiplexer.
commit a00a1ff5badbd38ac26282e6712031a2082c8bd1
Author: Andreas Tille <tille at debian.org>
Date: Sun Dec 4 09:26:00 2016 +0100
Install test script also as user accessible test
---
debian/README.test | 8 ++++++++
debian/changelog | 1 +
debian/docs | 2 ++
debian/rules | 6 ++++++
4 files changed, 17 insertions(+)
diff --git a/debian/README.test b/debian/README.test
new file mode 100644
index 0000000..d2a18b7
--- /dev/null
+++ b/debian/README.test
@@ -0,0 +1,8 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+To run the unit tests provided by the package you can do
+
+ sh gbs
+
+in this directory.
diff --git a/debian/changelog b/debian/changelog
index 175d723..3f732b3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ axe-demultiplexer (0.3.2+dfsg1-1) UNRELEASED; urgency=medium
* debhelper 10 (makes --parallel in d/rules superfluous)
* d/watch: version=4
* hardening=+all
+ * Install test script also as user accessible test
-- Kevin Murray <kdmfoss at gmail.com> Thu, 01 Dec 2016 12:32:30 +1100
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..6da9426
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+debian/README.test
+debian/tests/gbs
diff --git a/debian/rules b/debian/rules
index fc2fb87..0b558bb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,12 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DEBPKGNAME := $(shell dpkg-parsechangelog | awk '/^Source:/ {print $$2}')
+
%:
dh $@ --buildsystem=cmake
+override_dh_installdocs:
+ dh_installdocs
+ mkdir -p debian/$(DEBPKGNAME)/usr/share/doc/$(DEBPKGNAME)/tests
+ cp -a tests/data debian/$(DEBPKGNAME)/usr/share/doc/$(DEBPKGNAME)/tests
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/axe-demultiplexer.git
More information about the debian-med-commit
mailing list