Source: xclip
Version: 0.12+svn84-2
Tags: patch

xclip runs the tests even when DEB_BUILD_OPTIONS=nocheck is set.

--
Jakub Wilk
diff -Nru xclip-0.12+svn84/debian/rules xclip-0.12+svn84/debian/rules
--- xclip-0.12+svn84/debian/rules	2012-06-03 14:35:06.000000000 +0200
+++ xclip-0.12+svn84/debian/rules	2014-02-07 15:39:10.000000000 +0100
@@ -4,7 +4,9 @@
 	dh $@ --with autoreconf
 
 override_dh_auto_test:
+ifeq "$(filter nocheck,$(DEB_BUILD_OPTIONS))" ""
 	xvfb-run -a ./xctest
+endif
 
 REV=$(shell dpkg-parsechangelog | sed -rne 's,^Version: .*[+~]svn([0-9]+).*,\1,p')
 VER=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p')

Reply via email to