[med-svn] [htqc] 03/03: Enable testing in general but also enable suppressing the test since one of the tests fails (author is contacted)

Andreas Tille tille at debian.org
Tue Jun 23 08:40:02 UTC 2015


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

tille pushed a commit to branch master
in repository htqc.

commit f3429c3f683c4d51bff791abd4042cdcd541153d
Author: Andreas Tille <tille at debian.org>
Date:   Tue Jun 23 10:39:20 2015 +0200

    Enable testing in general but also enable suppressing the test since one of the tests fails (author is contacted)
---
 debian/patches/enable_testing.patch | 13 +++++++++++++
 debian/patches/series               |  1 +
 debian/rules                        |  7 +++++++
 3 files changed, 21 insertions(+)

diff --git a/debian/patches/enable_testing.patch b/debian/patches/enable_testing.patch
new file mode 100644
index 0000000..2fe9c49
--- /dev/null
+++ b/debian/patches/enable_testing.patch
@@ -0,0 +1,13 @@
+Author: Leopold Palomo-Avellaneda <leo at alaxarxa.net>
+Last-Update: Tue, 23 Jun 2015 09:51:43 +0200
+Description: Enable testing
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -53,5 +53,6 @@ include_directories(
+ 
+ set(juce_dep_libs pthread rt dl)
+ 
++enable_testing()
+ add_subdirectory(src)
+ add_subdirectory(t)
diff --git a/debian/patches/series b/debian/patches/series
index 41f95e5..fae8aa2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 correct_cflags.patch
+enable_testing.patch
diff --git a/debian/rules b/debian/rules
index 70dd134..9afc836 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,3 +30,10 @@ override_dh_installman:
 override_dh_installdocs:
 	ronn --html README.md
 	dh_installdocs
+
+override_dh_auto_test:
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+	echo skip testing due to DEB_BUILD_OPTIONS
+else
+	dh_auto_test
+endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/htqc.git



More information about the debian-med-commit mailing list