[PATCH] Do not run the testsuite if DEB_BUILD_OPTIONS contains nocheck
Signed-off-by: Thorsten Glaser <tg@debian.org>
---
debian/changelog | 4 ++++
debian/rules | 2 ++
2 files changed, 6 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 0ac3fd2..86fc318 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,9 @@
cups (1.6.3-2) UNRELEASED; urgency=low
+ [ Thorsten Glaser ]
+ * Do not run the testsuite if DEB_BUILD_OPTIONS contains nocheck.
+
+ [ Till Kamppeter ]
* debian/local/cups-daemon.cups.upstart: Increased timeout for waiting for
the CUPS daemon to get ready before automatically configuring printers
from 3 sec to 30 sec, on slower systems CUPS often needs more than 3
diff --git a/debian/rules b/debian/rules
index 4fc8ffa..43218b7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -135,7 +135,9 @@ override_dh_fixperms:
dh_fixperms -Xusr/lib/cups/backend-available
override_dh_auto_test:
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
make check
+endif
ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
override_dh_makeshlibs:
--
1.7.10.4
Reply to: