[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
test failure with current tip
From: |
John W. Eaton |
Subject: |
test failure with current tip |
Date: |
Wed, 13 Jan 2010 07:00:07 -0500 |
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
- test failure with current tip,
John W. Eaton <=
- Re: test failure with current tip, Jaroslav Hajek, 2010/01/13
- Re: test failure with current tip, John W. Eaton, 2010/01/13
- Re: test failure with current tip, Ben Abbott, 2010/01/13
- Re: test failure with current tip, John W. Eaton, 2010/01/13
- Re: test failure with current tip, Ben Abbott, 2010/01/13
- Re: test failure with current tip, Ben Abbott, 2010/01/13
- Re: test failure with current tip, John W. Eaton, 2010/01/13
Re: test failure with current tip, Ben Abbott, 2010/01/13
R: test failure with current tip, Riccardo Corradini, 2010/01/13