[Pkg-octave-commit] [octave-pkg-dev] 02/03: check-pkg: Create the autopkgtest files

Rafael Laboissiere rafael at debian.org
Thu Aug 31 20:33:55 UTC 2017


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

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

commit d026ccab4935c30d8629ec3292db955c8e6e67cb
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Thu Aug 31 17:12:57 2017 -0300

    check-pkg: Create the autopkgtest files
---
 make-octave-forge-debpkg.in | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/make-octave-forge-debpkg.in b/make-octave-forge-debpkg.in
index 4438d11..56bac4c 100755
--- a/make-octave-forge-debpkg.in
+++ b/make-octave-forge-debpkg.in
@@ -248,3 +248,21 @@ License: GPL-3+
  `/usr/share/common-licenses/GPL-3'.
 ";
 close FID;
+
+### Create the autopkgtest files
+makedir "debian/tests";
+open (FID, "> debian/tests/control");
+print FID "Tests: unit-tests
+Depends: @, octave-pkg-dev (>= #Version#)
+";
+close FID;
+system ("chmod +x debian/tests/control");
+open (FID, "> debian/tests/unit-tests");
+print FID "#!/bin/sh
+
+exec 2>&1
+set -e
+
+debian/rules check-pkg
+";
+close FID;

-- 
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