[Pkg-octave-commit] [octave-pkg-dev] 01/01: octave-pkg.mk: Detect unit tests for directives "fail", "xtest", and "warning"
Rafael Laboissière
rlaboiss-guest at moszumanska.debian.org
Wed Feb 17 14:09:56 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 c763d42115d1ce1bbdcbff078edf695f6eb7c76c
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date: Wed Feb 17 11:31:32 2016 -0200
octave-pkg.mk: Detect unit tests for directives "fail", "xtest", and "warning"
---
octave-pkg.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/octave-pkg.mk b/octave-pkg.mk
index fc9ab1a..fe9066c 100644
--- a/octave-pkg.mk
+++ b/octave-pkg.mk
@@ -171,7 +171,7 @@ check-pkg:
fi ; \
if [ -d src ] ; then \
find src/ -name \*.cc $(excluded_files_expr) \
- | xargs grep -l '^%!\(assert\|test\|error\)' \
+ | xargs grep -l '^%!\(assert\|test\|error\|fail|xtest|warning)' \
| 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