[Pkg-jed-commit] [SCM] Debian packaging of JED branch, jo-0.99.19, updated. 1%3A0.99.18+dfsg.1-10-178-gbb38541

Jörg Sommer joerg at alea.gnuu.de
Mon May 19 16:07:03 UTC 2008


The following commit has been merged in the jo-0.99.19 branch:
commit 403e61496b3d4fe649d3ceac465722ea3265efcd
Author: Jörg Sommer <joerg at alea.gnuu.de>
Date:   Sun May 18 16:50:25 2008 +0200

    Enable upstream testsuite
    
    The Embedded Debian people ask to not run testsuites, if
    DEB_BUILD_OPTIONS contains ‘nocheck.’
    http://wiki.debian.org/Embedded_Debian_packaging_rules

diff --git a/debian/changelog b/debian/changelog
index 649c52e..3bd7a27 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,12 @@ jed (1:0.99.19~pre129-1) UNRELEASED; urgency=low
   * Use the package hardening-wrapper to enabled hardening as suggested in
     http://lists.debian.org/debian-devel-announce/2008/01/msg00006.html
 
+  * Included the run of the testsuite from upstream source after the
+    build of the binaries. If DEB_BUILD_OPTIONS contains the string
+    ‘nocheck,’ the testsuite is skipped as suggested by the section
+    ‘Using DEB_BUILD_OPTIONS’ at
+    http://wiki.debian.org/Embedded_Debian_packaging_rules
+
  -- Jörg Sommer <joerg at alea.gnuu.de>  Thu, 01 Jan 1970 00:00:00 +0000
 
 jed (1:0.99.19~pre117-1) experimental; urgency=low
diff --git a/debian/rules b/debian/rules
index 5567b00..9840031 100755
--- a/debian/rules
+++ b/debian/rules
@@ -50,6 +50,10 @@ build-stamp: config.status
         # libfontconfig.
 	$(MAKE) DL_LIB="" OTHERLIBS=-lutil XRENDERFONTLIBS=-lXft jed xjed # getmail
 
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+	$(MAKE) -C src runtests
+endif
+
 	touch build-stamp
 
 binary-indep: config.status

-- 
Debian packaging of JED



More information about the Pkg-jed-commit mailing list