[Pkg-octave-commit] r1325 - in octave-pkg-dev/trunk: . debian

Rafael Laboissiere rafael at alioth.debian.org
Fri Feb 29 15:38:30 UTC 2008


Author: rafael
Date: 2008-02-29 15:38:30 +0000 (Fri, 29 Feb 2008)
New Revision: 1325

Modified:
   octave-pkg-dev/trunk/debian/changelog
   octave-pkg-dev/trunk/octave-pkg-dev.mk.in
Log:
Run the unit testing debian/check.m script (if it exists) after
installation of the package

Modified: octave-pkg-dev/trunk/debian/changelog
===================================================================
--- octave-pkg-dev/trunk/debian/changelog	2008-02-29 12:53:52 UTC (rev 1324)
+++ octave-pkg-dev/trunk/debian/changelog	2008-02-29 15:38:30 UTC (rev 1325)
@@ -1,5 +1,12 @@
-octave-pkg-dev (0.1) UNRELEASED; urgency=low
+octave-pkg-dev (0.2) UNRELEASED; urgency=low
 
+  * octave-pkg-dev.mk.in: Run the unit testing debian/check.m script (if it
+    exists) after installation of the package
+
+ -- Rafael Laboissiere <rafael at debian.org>  Fri, 29 Feb 2008 16:31:41 +0100
+
+octave-pkg-dev (0.1) unstable; urgency=low
+
   * Initial release (closes: #468311)
 
  -- Rafael Laboissiere <rafael at debian.org>  Mon, 25 Feb 2008 10:11:27 +0100

Modified: octave-pkg-dev/trunk/octave-pkg-dev.mk.in
===================================================================
--- octave-pkg-dev/trunk/octave-pkg-dev.mk.in	2008-02-29 12:53:52 UTC (rev 1324)
+++ octave-pkg-dev/trunk/octave-pkg-dev.mk.in	2008-02-29 15:38:30 UTC (rev 1325)
@@ -45,6 +45,12 @@
 		 pkg install $(filename)"
 	rm -f $(CURDIR)/$(debpkg)/$(mpath)/$(pkgname)/packinfo/COPYING
 	DH_AUTOSCRIPTDIR=$(shrpkg) $(shrpkg)/octave-pkg-dev.pl
+	@if [ -f debian/check.m ] ; then			\
+		echo Checking package... ;			\
+		@PACKAGE@ -q --no-init-file --eval		\
+			"addpath (genpath ([pwd(),'/debian']));	\
+			 source ('debian/check.m');" ;		\
+	fi
 
 get-orig-source::
 	@if [ "$(SOURCEFORGE)" != "NO" ] ; then 	\




More information about the Pkg-octave-commit mailing list