[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Pkg-octave-devel] First try on autopkgtest for OF packages



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



Reply to: