[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
skipped tests
From: |
John W. Eaton |
Subject: |
skipped tests |
Date: |
Wed, 5 Jan 2011 17:23:35 -0500 |
On 5-Jan-2011, Doug Stewart wrote:
| I am using ubuntu and tip from hg.
|
| In fntests.log I see
|
| >>>>> processing
/home/doug/octave_dev/compiling/octave/src/DLD-FUNCTIONS/lu.cc
| ***** testif HAVE_QRUPDATE_LUU
| [L,U,P] = lu(A);
| [L,U] = luupdate(L,U,P*u,v);
| assert(norm(vec(tril(L)-L),Inf) == 0)
| assert(norm(vec(triu(U)-U),Inf) == 0)
| assert(norm(vec(P'*L*U - A - u*v.'),Inf) < norm(A)*1e1*eps)
|
| ----- skipped test
|
| ***** testif HAVE_QRUPDATE_LUU
| [L,U,P] = lu(Ac);
| [L,U] = luupdate(L,U,P*uc,vc);
| assert(norm(vec(tril(L)-L),Inf) == 0)
| etc.
|
|
|
|
| In lu.cc at the bottom we have
|
|
| %!testif HAVE_QRUPDATE_LUU
| %! [L,U,P] = lu(A);
| %! [L,U] = luupdate(L,U,P*u,v);
| %! assert(norm(vec(tril(L)-L),Inf) == 0)
| %! assert(norm(vec(triu(U)-U),Inf) == 0)
| %! assert(norm(vec(P'*L*U - A - u*v.'),Inf) < norm(A)*1e1*eps)
| %!
| %!testif HAVE_QRUPDATE_LUU
| %! [L,U,P] = lu(Ac);
| %! [L,U] = luupdate(L,U,P*uc,vc);
|
| etc
|
| What I don't see is where HAVE_QRUPDATE_LUU is initilased to be true or false.
| I am assuming it is FALSE and therefore skipping the tests.
The "testif" directive looks in the list of -D options found in the
string returned by
octave_config_info ("DEF")
So it looks like your copy of Octave was built with a version of the
qrupdate library that does not have the LU update functions.
jwe
- skipped tests, Doug Stewart, 2011/01/05
- skipped tests,
John W. Eaton <=
- Re: skipped tests, Doug Stewart, 2011/01/05
- Re: skipped tests, Jordi Gutiérrez Hermoso, 2011/01/05
- Re: skipped tests, Doug Stewart, 2011/01/05
- Re: skipped tests, Doug Stewart, 2011/01/06
- Re: skipped tests, John W. Eaton, 2011/01/06
- Re: skipped tests, Doug Stewart, 2011/01/06