3.0.3 release candidate 2

Benjamin Lindner lindnerben at gmx.net
Wed Oct 1 01:21:05 CDT 2008


Jaroslav Hajek wrote:
> hello,
> 
> the 3.0.3 RC2 is up for testing. Some last-minute fixes were added.
> http://artax.karlin.mff.cuni.cz/~hajej2am/ulozna/octave/
> 
> regards
> 

Building using mingw32 gcc-tdm-4.3.0-2 completes successfully.
Make check results:

Summary:

   PASS   3937
   FAIL      3

The 3 fails are the already known (expected?) in ov-fcn-handle.cc due to 
the text/binary fseekg/fputg problem, in mat2str.m due to -i being 
represented as 0-1*i instead of expected -0-1*i and the one in bitcmp.m 
which is also already known. I thought I read on the list it had been 
fixed, apparently I missed something here. Will look into it

benjamin


just for the record I attach the test failures...

 >>>>> processing 
d:\files\admin\octaveforge_svn\trunk\octave-forge\admin\Windows\mingw32\octave\octave-3.0.3\src\ov-fcn-handle.cc
   ***** test
  a = 2;
  f = @(x) a + x;
  g = @(x) 2 * x;
  h = @log2;
  f2 = f;
  g2 = g;
  h2 = h;
  nm = tmpnam();
  unwind_protect
    save ("-text", nm, "f2", "g2", "h2");
    clear f2 g2 h2
    load (nm);
    assert (f(2),f2(2));
    assert (g(2),g2(2));
    assert (g(3),g2(3));
    unlink (nm);
    save ("-text", nm, "f2", "g2", "h2");
  unwind_protect_cleanup
    unlink (nm);
  end_unwind_protect
!!!!! test failed
error: function handle points to non-existent function

 >>>>> processing 
d:\files\admin\octaveforge_svn\trunk\octave-forge\admin\Windows\mingw32\octave\octave-3.0.3\scripts/general\bitcmp.m
   ***** 
assert(bitcmp(A,Amax),bitor(bitshift(1,Amax-1),bitshift(1,Amax-2)));
!!!!! test failed
error: assert (bitcmp (A, Amax),bitor (bitshift (1, Amax - 1), bitshift 
(1, Amax - 2))) expected
6.7554e+015
but got
1.1259e+016
values do not match
shared variables {
   Amax =  53
   Bmax = 9.0072e+015
   A = 2.2518e+015
}

 >>>>> processing 
d:\files\admin\octaveforge_svn\trunk\octave-forge\admin\Windows\mingw32\octave\octave-3.0.3\scripts/strings\mat2str.m
   ***** assert (mat2str ([-1/3 +i/7; 1/3 -i/7], [4 2]), 
"[-0.3333+0i,0+0.14i;0.3333+0i,-0-0.14i]")
!!!!! test failed
error: assert (mat2str ([-1 / 3, +i / 7; 1 / 3, -i / 7], [4, 
2]),"[-0.3333+0i,0+0.14i;0.3333+0i,-0-0.14i]") expected
[-0.3333+0i,0+0.14i;0.3333+0i,-0-0.14i]
but got
[-0.3333+0i,0+0.14i;0.3333+0i,0-0.14i]


More information about the Octave-maintainers mailing list