[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#738658: qtchooser: Support DEB_BUILD_OPTIONS=nocheck



Source: qtchooser
Version: 39-g4717841-2
Severity: wishlist
Tags: patch

When bootstrapping the qtchooser build, it's most convenient to do so by first 
doing a build without the Qt packages installed (as opposed to forcing 
installation of them without their binary dependencies on qtchooser).  In 
order for that to succeed, the testsuite must be skipped; attached is a simple 
patch to add support for this when DEB_BUILD_OPTIONS contains "nocheck" 
(recommended by policy 4.9.1).
-- 
Daniel Schepler
diff -urN qtchooser-39-g4717841.old/debian/rules qtchooser-39-g4717841/debian/rules
--- qtchooser-39-g4717841.old/debian/rules	2014-01-18 18:14:46.000000000 -0800
+++ qtchooser-39-g4717841/debian/rules	2014-02-11 08:21:26.613820038 -0800
@@ -15,4 +15,6 @@
 	make install INSTALL_ROOT=$(CURDIR)/debian/qtchooser
 
 override_dh_auto_test:
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	make check
+endif

Reply to: