bugGNU Octave - Bugs: bug #55879, two failing unit tests with dev...

 
 

bug #55879: two failing unit tests with dev build (findall.m and allchild.m)

Submitter:  Hartmut <hardy>
Submitted:  Sun 10 Mar 2019 09:01:16 PM UTC
   
 
Category:  Test Suite Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 11 Mar 2019 12:03:00 AM UTC, comment #2: 

I checked in a fix here (https://hg.savannah.gnu.org/hgweb/octave/rev/62c1443babd8).  Closing report.

Rik <rik5>
Group administrator
Sun 10 Mar 2019 11:31:58 PM UTC, comment #1: 

This is a small side effect of this changeset


parent: 26869:992f55ef87f5
 Use an uitoolbar and ui*tools to build the default figure toolbar (bug #55795)


The expected values have now changed and just need to be updated in allchild.m and findall.m

Rik <rik5>
Group administrator
Sun 10 Mar 2019 09:01:16 PM UTC, original submission:  

I have compiled the Octave default branch (hg id 9ec36417c262) today on my Linux PC (Ubuntu 18.04) and observed two failing tests when running "make test":


>>>>> processing /home/hartmut-nobackup/octave-repo/scripts/plot/util/findall.m
***** testif HAVE_OPENGL, HAVE_QT; have_window_system () && any (strcmp ("qt", available_graphics_toolkits ()))
 toolkit = graphics_toolkit ("qt");
 hf = figure ("visible", "off");
 unwind_protect
   h = findall (hf);
   all_handles(1) = {"figure"};
   all_handles(2:24,1) = {"uimenu"};
   assert (get (h, "type"), all_handles);
 unwind_protect_cleanup
   close (hf);
   graphics_toolkit (toolkit);
 end_unwind_protect
!!!!! test failed
ASSERT errors for:  assert (get (h, "type"),all_handles)

  Location  |  Observed  |  Expected  |  Reason
     .         O(33x1)      E(24x1)      Dimensions don't match



>>>>> processing /home/hartmut-nobackup/octave-repo/scripts/plot/util/allchild.m
***** testif HAVE_OPENGL, HAVE_QT; have_window_system () && any (strcmp ("qt", available_graphics_toolkits ()))
 toolkit = graphics_toolkit ("qt");
 hf = figure ("visible", "off");
 unwind_protect
   l = line;
   kids = allchild (hf);
   assert (get (kids, "type"), {"axes"; "uimenu"; "uimenu"; "uimenu"});
 unwind_protect_cleanup
   close (hf);
   graphics_toolkit (toolkit);
 end_unwind_protect
!!!!! test failed
ASSERT errors for:  assert (get (kids, "type"),{"axes"; "uimenu"; "uimenu"; "uimenu"})

  Location  |  Observed  |  Expected  |  Reason
     .          O(5x1)       E(4x1)      Dimensions don't match


I have no idea if those failures are known already or relevant at all. If you need more information on my build configuration (no extra config or compile options at all), just let me know.

Hartmut <hardy>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by rik5
  • -email is unavailable- added by hardy (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-11 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2019-03-10 rik5 CategoryNone Test Suite
        StatusNone Confirmed
        Carbon-Copy- Added pantxo

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code