help-octave
[Top][All Lists]
Advanced

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

Re: testing install of suitesparse


From: Ben Abbott
Subject: Re: testing install of suitesparse
Date: Wed, 24 Oct 2007 19:40:33 -0400


On Oct 24, 2007, at 12:32 AM, John W. Eaton wrote:

On 23-Oct-2007, Ben Abbott wrote:

| The 1st failure, from fntest.log ...
|
| -----------------------
| >>>>> processing /Users/bpabbott/src/octave/07.10.12/scripts/ testfun/
| test.m
|    ***** xtest error("This test is known to fail")
| !!!!! known failure
| error: This test is known to fail
|  >>>>> processing /Users/bpabbott/src/octave/07.10.12/scripts/time/
| calendar.m
|  >>>>> processing /Users/bpabbott/src/octave/07.10.12/scripts/time/
| datenum.m
|  >>>>> processing /Users/bpabbott/src/octave/07.10.12/scripts/time/
| datestr.m
|  >>>>> processing /Users/bpabbott/src/octave/07.10.12/scripts/time/
| datevec.m
|    ***** assert(datevec("09/13"),[nowvec(1),9,13,0,0,0]);
| !!!!! test failed
| error: assert (datevec ("09/13"),[nowvec(1), 9, 13, 0, 0, 0]) expected
|     2007      9     13      0      0      0
| but got
|     2000      9     13      0      0      0
| values do not match
| shared variables {
|    nowvec =
|
|       2007.0000     10.0000     23.0000     22.0000      2.0000
| 26.8259
|
| }
| -----------------------
|
| This appears to be expected. The second failure from fntest.log ...
|
| -----------------------
|  >>>>> processing test_sparse
|    ***** assert(as./bs,sparse(af./bf,true),100*eps);
| !!!!! test failed
| error: assert (as ./ bs,sparse (af ./ bf, true),100 * eps) expected
|     Inf + Infi     2 -   1i   NaN - NaNi   NaN - NaNi
|       0 +   0i   NaN - NaNi   NaN - NaNi   Inf + Infi
|       0 +   0i     0 +   0i   NaN - NaNi   Inf - NaNi
| but got
|     NaN - NaNi     2 -   1i   NaN - NaNi   NaN - NaNi
|       0 +   0i   NaN - NaNi   NaN - NaNi   NaN - NaNi
|       0 +   0i     0 +   0i   NaN - NaNi   NaN - NaNi
| NaNs don't match
| -----------------------
|
| I noticed the following message after running "make test"
|
| -----------------------
| Summary:
|
|    PASS   3731
|    FAIL      2
|
| There were 3 expected failures (see fntests.log for details).
| -----------------------
|
| So there are "3 expected failures" and I only have 2 ... I assume 1
| or more of these expected failures have been corrected?
|
| In any event, is the failure I've encountered expected?

The sparse problem is currently under discussion here:

https://www.cae.wisc.edu/pipermail/bug-octave/2007-October/ 003596.html

The datevec problem is currently under discussion here:

https://www.cae.wisc.edu/pipermail/bug-octave/2007-October/ 003515.html

I'd guess that you missed the other expected failures.  They are in
ismember.m

jwe

You're correct. I checked the fntests.log and found the ismember.m did report an error. However, since the proper response was given, it appears to be a false failure.

>>>>> processing /Users/bpabbott/src/octave/07.10.12/scripts/set/ ismember.m
  ***** xtest assert (ismember ('', {'abc', 'def'}), false);
!!!!! known failure
error: assert (ismember (, {"abc", "def"}),false) expected
0
but got
[](0x0)
Dimensions don't match
  ***** xtest fail ('ismember ([], {1, 2})', 'error:.*');
!!!!! known failure
error: expected error <error:.*> but got none



reply via email to

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