[Pkg-octave-commit] [octave-pkg-dev] 01/03: check-pkg: Search for .m files in the inst/ directory

Rafael Laboissiere rafael at debian.org
Fri Aug 25 17:48:37 UTC 2017


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

rafael pushed a commit to annotated tag debian/1.4.6
in repository octave-pkg-dev.

commit e3e12bee8788246ea4f07b4704a13f35b3231ca2
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Fri Aug 25 14:26:34 2017 -0300

    check-pkg: Search for .m files in the inst/ directory
    
    The files were searched before in the debian/ directory, but there is
    no reason for that.  With this change, it is possible to test the
    package without building it (but having the binary package installed
    in the system).  This should easy things for autopkgtest.
---
 check-pkg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/check-pkg b/check-pkg
index 98d5065..03549f5 100755
--- a/check-pkg
+++ b/check-pkg
@@ -11,7 +11,7 @@ echo Checking m files ...
 tmp=$(tempfile)
 echo "addpath (genpath ([pwd(),'/debian']));" > $tmp
 echo "[usr_pkg,sys_pkg]=pkg('list'); for i = 1:length(sys_pkg); pkg('load',sys_pkg{1,i}.name); endfor;" >> $tmp
-for f in $(find debian/ -name \*.m $excluded_files_expr	| grep -v /private/) ; do
+for f in $(find inst/ -name \*.m $excluded_files_expr	| grep -v /private/) ; do
     if grep -q "$unit_test_regex" $f ; then
         stem=$(echo $f | sed 's:[^@]*/::;s/\.m$//')
 	echo "disp (\"[$stem]\")" >> $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