[Pkg-octave-commit] [octave-pkg-dev] 01/01: octave-pkg.mk: Also run unit tests in files with only "%!error" directives

Rafael Laboissière rlaboiss-guest at moszumanska.debian.org
Sun Feb 7 14:14:42 UTC 2016


This is an automated email from the git hooks/post-receive script.

rlaboiss-guest pushed a commit to branch master
in repository octave-pkg-dev.

commit 296efa552887ba9e993b8f5df46c392890cc1121
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Sun Feb 7 12:12:00 2016 -0200

    octave-pkg.mk: Also run unit tests in files with only "%!error" directives
---
 octave-pkg.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/octave-pkg.mk b/octave-pkg.mk
index 8b60813..fc9ab1a 100644
--- a/octave-pkg.mk
+++ b/octave-pkg.mk
@@ -143,7 +143,7 @@ check-pkg:
 	echo "pkg load all;" >> $$tmp ;				\
 	find debian/ -name \*.m	$(excluded_files_expr)		\
 		| grep -v /private/				\
-		| xargs grep -l '^%!\(assert\|test\)'		\
+		| xargs grep -l '^%!\(assert\|test\|error\)'	\
 		| perl -pe 's:[^@]*/(.*)\.m::;			\
 		 print "disp (\"[$$1]\")\ntest $$1 $(OCTPKG_TEST_OPT)"'	\
 		>> $$tmp ;					\
@@ -171,7 +171,7 @@ check-pkg:
 	fi ;							\
 	if [ -d src ] ; then					\
 		find src/ -name \*.cc $(excluded_files_expr)	\
-			| xargs grep -l '^%!\(assert\|test\)'	\
+			| xargs grep -l '^%!\(assert\|test\|error\)'	\
 			| perl -pe 's:.*/(.*)\.cc::;		\
 				print "disp (\"[$$1]\")\ntest $$1 $(OCTPKG_TEST_OPT)"'	\
 			>> $$tmp ;				\

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-pkg-dev.git



More information about the Pkg-octave-commit mailing list