[kernel] r21847 - dists/trunk/linux-base/debian

Ben Hutchings benh at moszumanska.debian.org
Mon Sep 15 16:21:55 UTC 2014


Author: benh
Date: Mon Sep 15 16:21:55 2014
New Revision: 21847

Log:
Run version_cmp() unit tests at build time

Modified:
   dists/trunk/linux-base/debian/changelog
   dists/trunk/linux-base/debian/rules

Modified: dists/trunk/linux-base/debian/changelog
==============================================================================
--- dists/trunk/linux-base/debian/changelog	Mon Sep 15 02:44:00 2014	(r21846)
+++ dists/trunk/linux-base/debian/changelog	Mon Sep 15 16:21:55 2014	(r21847)
@@ -20,6 +20,7 @@
     - Spanish (Omar Campagne) (Closes: #686748)
   * debian/postinst: When checking which configuration files are present,
     treat ENOTDIR like ENOENT (Closes: #698203)
+  * Run version_cmp() unit tests at build time
 
  -- Ben Hutchings <ben at decadent.org.uk>  Tue, 01 May 2012 01:54:46 +0100
 

Modified: dists/trunk/linux-base/debian/rules
==============================================================================
--- dists/trunk/linux-base/debian/rules	Mon Sep 15 02:44:00 2014	(r21846)
+++ dists/trunk/linux-base/debian/rules	Mon Sep 15 16:21:55 2014	(r21847)
@@ -3,6 +3,9 @@
 HAVE_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null)
 
 build:
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
+	perl -Ilib -MTest::Harness -e 'runtests(@ARGV)' lib/t/*.t
+endif
 
 binary: binary-arch binary-indep
 



More information about the Kernel-svn-changes mailing list