octave-maintainers
[Top][All Lists]
Advanced

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

Re: RC1 Candidate


From: Tatsuro MATSUOKA
Subject: Re: RC1 Candidate
Date: Sun, 27 Jan 2019 08:29:36 +0900 (JST)

> From: Rik 
> To: Octave-Maintainers 
> Cc: 
> Date: 2019/1/27, Sun 00:25
> Subject: RC1 Candidate
> 
>T he first release candidate for Octave version 5.1 is available at
> ftp://alpha.gnu.org/gnu/octave/.
> 
> I've tried it on my vanilla Linux system (./configure, make) and building
> is just fine.  Running 'make check' passes with no failed tests.
> 
> Please download and experiment on other systems.
> 
> --Rik



Tested on Ubuntu 16.04.5

Summary:

  PASS                            15516
  FAIL                                2
  XFAIL (reported bug)               23
  SKIP (missing feature)             37
  SKIP (run-time condition)          12

  image/getframe.m ............................................... PASS    0/2  
                                                                   FAIL    2
>>>>> processing 
>>>>> /home/mousei7/work/octave/octave-5.0.90/octave-5.0.90/scripts/image/getframe.m
***** testif HAVE_QT_OFFSCREEN; have_window_system ()
 hf = figure ("visible", "off");
 unwind_protect
   pos = get (hf, "position");
   assert (size (getframe (hf).cdata)(1:2), pos(4:-1:3));
 unwind_protect_cleanup
   close (hf);
 end_unwind_protect
!!!!! test failed
ASSERT errors for:  assert (size (getframe (hf).cdata) (1:2),pos (4:-1:3))

  Location  |  Observed  |  Expected  |  Reason
    (1)           0           420        Abs err 420 exceeds tol 0 by 4e+02
    (2)           0           560        Abs err 560 exceeds tol 0 by 6e+02
***** testif HAVE_QT_OFFSCREEN; have_window_system ()
 hf = figure ("visible", "off");
 unwind_protect
   hax = axes ("visible", "off", "position", [0 0 1 1]);
   verts = [0 0; .5 0; 1 0; ...
            0 .5; .5 .5; 1 .5; ...
            0 1; .5 1; 1 1];
   faces = [1 2 5 4; 2 3 6 5; 4 5 8 7; 5 6 9 8];
   fvc = [1 0 0; 0 1 0; 0 0 1; 1 0 1];
   patch ("vertices", verts, "faces", faces, "facevertexcdata", fvc, ...
          "facecolor", "flat");

   kk = 1;
   pos = get (hf, "position");

   for jj = [0.05 0.55]
     for ii = [0.05 0.55]
       rect = [ii jj .4 .4].*[pos(3:4) pos(3:4)];
       frame = getframe (hax, rect).cdata;
       assert (frame(:,:,1) == fvc(kk,1)*255);
       assert (frame(:,:,2) == fvc(kk,2)*255);
       assert (frame(:,:,3) == fvc(kk,3)*255);
       kk++;
     endfor
   endfor
 unwind_protect_cleanup
   close (hf);
 end_unwind_protect
!!!!! test failed
assert (frame (:, :, 1) == fvc (kk, 1) * 255) failed


Tatsuro



reply via email to

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