octave-maintainers
[Top][All Lists]
Advanced

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

Re: test failure with current tip


From: Ben Abbott
Subject: Re: test failure with current tip
Date: Wed, 13 Jan 2010 08:51:53 -0500

On Jan 13, 2010, at 7:00 AM, John W. Eaton wrote:

> With the current sources, I'm seeing the following failure:
> 
>  test_bc_overloads.m .................................... PASS    0/1    FAIL 
> 1
> 
> The info from the fntests.log file is
> 
>>>>>> processing test_bc_overloads
>    ***** test
>   f = fieldnames (ex);
>   n = numel (f);
>   s = c1 = c2 = cell (n);
>   for i = 1:n
>     for j = 1:n
>       c1{i,j} = ex.(f{i});
>       c2{i,j} = ex.(f{j});
>       s{i,j} = tbcover (ex.(f{i}), ex.(f{j}));
>     endfor
>   endfor
>   assert (cellfun (@tbcover, c1, c2, "uniformoutput", false), s);
>  !!!!! test failed
>  assert (cellfun (@tbcover, c1, c2, "uniformoutput", false),s) expected
>  {
>    [1,1] = double
>    [2,1] = single
>    ...
>  }
>  but got
>  {
>    [1,1] = none
>    [2,1] = none
>    ...
>    all the rest are the same
>    ...
>  }
>  shared variables {
>    ex =
>    {
>      double =  1
>      single =  1
>      logical =  1
>      char = char
>      int8 = 1
>      int16 = 1
>      int32 = 1
>      int64 = 1
>      uint8 = 1
>      uint16 = 1
>      uint32 = 1
>      uint64 = 1
>      cell = {}(0x0)
>      struct =
>      {
>        1x1 struct array containing the fields:
> 
>      }
> 
>      function_handle =
> 
>  numel
> 
>    }
> 
>  }
> 
> Is anyone else seeing this problem, or is it just me?
> 
> I'm building in a separate directory from the sources and the
> @TYPE/tbcover.m files in the build-tree/test directory appear to have
> been created correctly.
> 
> The failure only happens when I run "make check".  If I cd to the
> build-tree/test directory, then do
> 
>  ../run-octave
>  octave> test test_bc_overloads
> 
> the test passes.  So maybe it is a path problem.  Hmm, I tried
> changing the run-octave script to add the builddir/test directory to
> the path, verified that it is adding the directory correctly when run
> with "make check", but then it is still failing.
> 
> OK, one more thing.  If I remove script_tree from the list of fundirs
> in test/fntests.m, then make check passes the test_bc_overloads test.
> But I have no clue why.
> 
> Anyone?
> 
> jwe

My sources are current. I am also seeing errors from test_bc_overloads when I 
run "make check".

  test_bc_overloads.m .................................... PASS  225/451  FAIL 
226

I've attached the failures from fntests.log (busy day, so I haven't looked at 
the detail yet).

Ben

Attachment: fntests.log
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]