[Pkg-octave-devel] octave-pkg-dev 1.4.0 fails to test methods
Oliver Heimlich
oheim at posteo.de
Sat Jun 4 22:00:26 UTC 2016
Hi,
during preparation of octave-interval 1.5.0-1 I have observed several
error messages during the build process. They have been introduced by
revision 79afdf4ec7e54e800c0ce02348ec0fa0cf754d04 of octave-pkg-dev and
make a regression.
Before, we had the following expression in octave-pkg.mk to turn the
file names of m-files into something that can be passed to the test
function.
…
perl -pe 's:[^@]*/(.*)\.m::
…
Now, we have in check-pkg:
…
stem=${f%%.m}
stem=${stem##*/}
…
In order to test method “x” of class “@myclass” we have to call “test
@myclass/x” in Octave. This has worked before (notice the [^@] in the
regexp). Now, check-pkg calls “test x”, which doesn't work and produces
one of the following messages or runs tests of a different function (e.
g. some octave core function):
????? x is a built-in function
????? x does not exist in path
@Rafael, can you fix this?
Best
Oliver
More information about the Pkg-octave-devel
mailing list