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

[Pkg-octave-devel] Testing m-files



Am 15. Februar 2016 12:41:09 MEZ, schrieb Rafael Laboissiere <rafael@laboissiere.net>:
>I prepared version 1.1.3 of the octave-pkg-dev package in Git 
>[commit: dec1a1f].  In this version, octave-pkg.mk was changed for 
>allowing unit testing of files that contain only %!error directives. 
>This is needed for the upcoming octave-octclip package (see recent 
>ITP [1]).
>
>Please, upload this version to unstable.
>
>
>Rafael
>
>[1] http://bugs.debian.org/814773
>
>_______________________________________________
>Pkg-octave-devel mailing list
>Pkg-octave-devel@lists.alioth.debian.org
>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-octave-devel

You should add |xtest|warning to the regexp to be able test such m-files as well.

Also we should consider to fail the build if unit tests fail. 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?

Oliver



Reply to: