[Pkg-octave-devel] Functional testing of DOG packages
Sébastien Villemot
sebastien at debian.org
Fri Jun 30 15:01:16 UTC 2017
Le samedi 24 juin 2017 à 21:59 +0200, Rafael Laboissière a écrit :
> Lintian is now triggering the testsuite-autopkgtest-missing warning on
> the DOG packages. Has anyone already thought about how we should handle
> the issue ?
We could implement automatic test generation for octave packages. This
is done by the autodep8 package, that already automatically generates
tests for add-ons of several languages.
For example, for R packages, it automatically adds a test that checks
whether the package correctly load. So nowadays all R packages have a
testsuite, even though for most of them it is rather minimal.
Similarly, we could add a test for octave-* packages that runs "pkg
load XXX" in octave.
A more sophisticated test could be to run tests for all *.m and *.cc
files (as we already do at build time).
Looking at the source of the autodep8 package, it looks quite easy to
add our own stuff.
--
.''`. Sébastien Villemot
: :' : Debian Developer
`. `' http://sebastien.villemot.name
`- GPG Key: 4096R/381A7594
More information about the Pkg-octave-devel
mailing list