octave-maintainers
[Top][All Lists]
Advanced

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

Re: 'make check' errors


From: c.
Subject: Re: 'make check' errors
Date: Sat, 2 Nov 2013 23:50:05 +0100

On 2 Nov 2013, at 23:13, Rik <address@hidden> wrote:

> After resolving the conv errors, I think we need to take a look at the
> other platforms--Mac and Windows--and see what failures we have there.  In
> some cases it may be approriate to add ismac(), ispc() in the %!tests to
> special case certain tests.

On the mac I get the following:

Summary:

  PASS     12671
  FAIL        13
  XFAIL        3
  SKIPPED      7

out of the 13 fails, 7 are in conv, and 1 is bug 38236.
The remaining 5 are as follows:

1 failure in chol-cc.tst which is a tolerance issue
1 failure in testing error messages in figure.m
2 failures in datestr, due to uppercase/lowercase differences.
1 failure in svds which is a tolerance issue

None of these looks very bad, I think the main issue on OSX is that syntax 
highlighting crashes the GUI.
Below is the text of the make check failures on OSX.

c.

chol-cc.tst
  ***** test
 a = [12,  2,  3,  4;
       2, 14,  5,  3;
       3,  5, 16,  6;
       4,  3,  6, 16];

 b = [0,  1,  2,  3;
     -1,  0,  1,  2;
     -2, -1,  0,  1;
     -3, -2, -1,  0];

 ca = a + i*b;

 cca  = chol (ca);

 ccal  = chol (ca, "lower");
 ccal2 = chol (tril (ca), "lower");

 ccau  = chol (ca, "upper");
 ccau2 = chol (triu (ca), "upper");

 assert (cca'*cca,     ca, 16*eps);
 assert (ccau'*ccau,   ca, 16*eps);
 assert (ccau2'*ccau2, ca, 16*eps);

 assert (cca, ccal',  16*eps);
 assert (cca, ccau,   16*eps);
 assert (cca, ccal2', 16*eps);
 assert (cca, ccau2,  16*eps);
!!!!! test failed
ASSERT errors for:  assert (cca' * cca,ca,16 * eps)

  Location  |  Observed  |  Expected  |  Reason
   (3,3)     16+5.5511e-17i       16        Abs err 3.5531e-15 exceeds tol 
3.5527e-15
shared variables   scalar structure containing the fields:
    A =
       0.43700  -0.13172   0.12412  -0.06167
      -0.13172   0.73853   0.01985  -0.14030
       0.12412   0.01985   0.35488  -0.05947
      -0.06167  -0.14030  -0.05947   0.60094
    u =
       0.98950
       0.39844
       0.63484
       0.13351
    Ac =
       0.55855 + 0.00000i  -0.16621 - 0.03153i   0.01079 + 0.02364i  -0.02768 - 
0.01861i
      -0.16621 + 0.03153i   0.67601 + 0.00000i   0.00115 - 0.04755i   0.01460 + 
0.02476i
       0.01079 - 0.02364i   0.00115 + 0.04755i   0.62631 + 0.00000i  -0.15858 - 
0.07198i
      -0.02768 + 0.01861i   0.01460 - 0.02476i  -0.15858 + 0.07198i   0.60342 + 
0.00000i
    uc =
       0.54267 + 0.91519i
       0.99647 + 0.43141i
       0.83760 + 0.68977i
       0.39160 + 0.90378i



figure.m
  ***** error <N must be figure handle or figure number> figure ([1 2])
!!!!! error failed.
Expected <N must be figure handle or figure number> but got <set: invalid 
handle (= 2)>


svds.m
  ***** testif HAVE_ARPACK
 [u2,s2,v2,flag] = svds (A,k);
 s2 = diag (s2);
 assert (flag, !1);
 tol = 10 * eps() * norm(s2, 1);
 assert (s2, s(end:-1:end-k+1), tol);

!!!!! test failed
ASSERT errors for:  assert (s2,s (end:-1:end - k + 1),tol)

  Location  |  Observed  |  Expected  |  Reason
    (6)         41.966       41.966      Abs err 6.8923e-13 exceeds tol 
6.5244e-13

datestr.m 
  ***** assert (datestr (testtime,14), " 2:33:17 AM")
!!!!! test failed
ASSERT errors for:  assert (datestr (testtime, 14)," 2:33:17 AM")

  Location  |  Observed  |  Expected  |  Reason
     []       2:33:17 am   2:33:17 AM    Strings don't match
shared variables   scalar structure containing the fields:
    testtime =
       2.0050e+03   1.2000e+01   1.8000e+01   2.0000e+00   3.3000e+01   
1.7382e+01
  ***** assert (datestr (testtime,16), " 2:33 AM")
!!!!! test failed
ASSERT errors for:  assert (datestr (testtime, 16)," 2:33 AM")

  Location  |  Observed  |  Expected  |  Reason
     []         2:33 am      2:33 AM     Strings don't match
shared variables   scalar structure containing the fields:
    testtime =
       2.0050e+03   1.2000e+01   1.8000e+01   2.0000e+00   3.3000e+01   
1.7382e+01




reply via email to

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