[Pkg-octave-devel] Testing m-files
Rafael Laboissiere
rafael at laboissiere.net
Tue Feb 16 08:05:21 UTC 2016
* Oliver Heimlich <oheim at posteo.de> [2016-02-15 17:48]:
> You should add |xtest|warning to the regexp to be able test such
> m-files as well.
This is a good idea, thanks. I will implement it soon.
I guess we should also include "fail", shouldn't we?
> Also we should consider to fail the build if unit tests fail.
I have no recollection why we decided that failing unit tests should not
prevent the package build. There was probably a compelling reason for
that. At any rate, it became the standard practice for the DOG packages.
> I have enabled this for the supplementary tst-files in the
> octave-interval. I'd prefer to also enable this behavior in
> octave-pkg.mk. Would you prefer a configuration switch?
Yes, a configuration switch would be a good idea. I will think about
this.
Raael
More information about the Pkg-octave-devel
mailing list