[Pkg-octave-devel] First try on autopkgtest for OF packages
Rafael Laboissière
rafael at debian.org
Fri Aug 25 19:14:44 UTC 2017
I have designed a very simple way of adding autopkgtest functionality
to the OF packages. You can try it with the following commands:
sudo aptitude install octave-image
gbp clone https://anonscm.debian.org/git/pkg-octave/octave-image.git
cd octave-image
git checkout autopkgtest
autopkgtest -B . -- null
Notice that you will need octave-pkg-dev >= 1.4.6 (now in unstable) for
that to work.
This is implemented through the d/tests/control file:
#####################################
Tests: unit-tests
Depends: @, octave-pkg-dev (>= 1.4.6)
#####################################
and the d/tests/unit-tests file:
#####################################
#!/bin/sh
exec 2>&1
set -e
debian/rules check-pkg
#####################################
Tell me what you think, please.
Rafael
More information about the Pkg-octave-devel
mailing list