octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #61358] make check failed in dlmread.cc-tst ca


From: pengyueqing
Subject: [Octave-bug-tracker] [bug #61358] make check failed in dlmread.cc-tst camlookat.m cosint.m
Date: Wed, 20 Oct 2021 07:55:17 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?61358>

                 Summary: make check failed in dlmread.cc-tst camlookat.m
cosint.m
                 Project: GNU Octave
            Submitted by: pyq
            Submitted on: Wed 20 Oct 2021 11:55:15 AM UTC
                Category: Test Suite
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 6.2.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

>>>>> processing
/home/spack-stage/root/spack-stage-octave-6.2.0-e55tupk2hrxvusr6xrvs7vvamxu5tsp6/spack-src/libinterp/corefcn/dlmread.cc-tst
***** test
 file = tempname ();
 unwind_protect
   fid = fopen (file, "wt");
   fwrite (fid, "1,NA,3");
   fclose (fid);

   assert (dlmread (file), [1, NA, 3]);
 unwind_protect_cleanup
   unlink (file);
 end_unwind_protect
!!!!! test failed
ASSERT errors for:  assert (dlmread (file),[1, NA, 3])

  Location  |  Observed  |  Expected  |  Reason
    (2)           0            NA        'NA' mismatch
***** test <*54029>
 file = tempname ();
 unwind_protect
   fid = fopen (file, "wt");
   fwrite (fid, "NaNe,bNa,Name,c\n1,NaN,3,Inftest\n-Inf,6,NA,8");
   fclose (fid);

   assert (dlmread (file), [0, 0, 0, 0; 1, NaN, 3, 0; -Inf, 6, NA, 8]);
 unwind_protect_cleanup
   unlink (file);
 end_unwind_protect
!!!!! regression: https://octave.org/testfailure/?54029
ASSERT errors for:  assert (dlmread (file),[0, 0, 0, 0; 1, NaN, 3, 0; -Inf, 6,
NA, 8])

  Location  |  Observed  |  Expected  |  Reason
   (3,3)          0            NA        'NA' mismatch


>>>>> processing
/home/spack-stage/root/spack-stage-octave-6.2.0-e55tupk2hrxvusr6xrvs7vvamxu5tsp6/spack-src/scripts/plot/appearance/camlookat.m
***** test
 hf = figure ("visible", "off");
 unwind_protect
   [x y z] = sphere ();
   h1 = surf (x + 1, y, z);
   hold on
   h2 = surf (x - 1, y + 2, z + 1);
   dir = camtarget () - campos ();
   dir /= norm (dir);
   camlookat (h1);
   dir2 = camtarget () - campos ();
   dir2 /= norm (dir2);
   assert (dir, dir2, -2*eps);
   camlookat (h2);
   dir2 = camtarget () - campos ();
   dir2 /= norm (dir2);
   assert (dir, dir2, -2*eps)
   camlookat ([h1 h2]);
   dir2 = camtarget () - campos ();
   dir2 /= norm (dir2);
   assert (dir, dir2, -2*eps);
 unwind_protect_cleanup
   close (hf);
 end_unwind_protect
!!!!! test failed
ASSERT errors for:  assert (dir,dir2,-2 * eps)

  Location  |  Observed  |  Expected  |  Reason
    (2)        0.72803      0.72803      Rel err 4.5749e-16 exceeds tol
4.4409e-16 by 1e-17


>>>>> processing
/home/spack-stage/root/spack-stage-octave-6.2.0-e55tupk2hrxvusr6xrvs7vvamxu5tsp6/spack-src/scripts/specfun/cosint.m
***** assert (cosint (pi), 0.0736679120464254860, -2e-15)
!!!!! test failed
ASSERT errors for:  assert (cosint (pi),0.0736679120464254860,-2e-15)

  Location  |  Observed  |  Expected  |  Reason
     ()        0.073668     0.073668     Rel err 3.956e-15 exceeds tol 2e-15
by 2e-15






    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?61358>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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