test failures with current mercurial sources (was Re: 3.0.1 release?)

John W. Eaton jwe at bevo.che.wisc.edu
Wed Apr 2 22:28:36 CDT 2008


On  2-Apr-2008, Ben Abbott wrote:

| Here's another pair of failures, which I missed. I noticed them when I  
| tried a second build.
| 
| octave:6> test repmat
|    ***** assert(sparse(4,4), repmat(sparse(2,2),[2 2]));
| !!!!! test failed
| error: `spkron' undefined near line 75 column 13
| shared variables {
|    x =
| 
|       65   66   67
| 
|    r =
| 
|    ans(:,:,1) =
| 
|       65   66   67   65   66   67
|       65   66   67   65   66   67
| 
|    ans(:,:,2) =
| 
|       65   66   67   65   66   67
|       65   66   67   65   66   67
| }
| 
| octave:26> test ver
|    ***** test
|   result = ver;
|   assert (result(1).Name, "Octave")
|   assert (result(1).Version, version)
|   result = ver ("octave");
|   assert (result(1).Name, "Octave")
|   assert (result(1).Version, version)
| !!!!! test failed
| error: `issuperuser' undefined near line 210 column 20
| octave:27>

Are you building the release-3-0-x branch, or the default branch?

I've added spkron.m and issuperuser.m to the SOURCES lists in the
appropriate Makefile.in files in the default branch, but I don't see
how that can be the solution if you are building from the hg archive.
It would prevent the files from being placed in a distribution tar
file though...

jwe




More information about the Octave-maintainers mailing list