bugGNU Octave - Bugs: bug #34943, Test fail in allchild.m (MinGW)

 
 

bug #34943: Test fail in allchild.m (MinGW)

Submitter:  Tatsuro MATSUOKA <tmacchant>
Submitted:  Wed 30 Nov 2011 05:09:20 AM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 05 Dec 2011 01:09:11 AM UTC, comment #3: 

I have confirmed the FAIL has been fixed.
Thanks!

Tatsuro MATSUOKA <tmacchant>
Fri 02 Dec 2011 10:53:31 PM UTC, comment #2: 
Rik <rik5>
Group administrator
Wed 30 Nov 2011 09:46:20 PM UTC, comment #1: 

From the octave prompt


octave:1> test allchild
  ***** test
 hf = figure ("visible", "off");
 unwind_protect
   l = line;
   assert(get(allchild(hf),'type'),{'axes'; 'uimenu'; 'uimenu'; 'uimenu'})
 unwind_protect_cleanup
   close (hf);
 end_unwind_protect
!!!!! test failed
assert (get (allchild (hf), 'type'),{'axes'; 'uimenu'; 'uimenu'; 'uimenu'}) expected
{
  [1,1] = axes
  [2,1] = uimenu
  [3,1] = uimenu
  [4,1] = uimenu
}
but got
axes
octave:2> graphics_toolkit fltk
octave:3> test allchild
PASSES 1 out of 1 tests


Then origin of the error is graphics_toolkit is not fltk.

Tatsuro MATSUOKA <tmacchant>
Wed 30 Nov 2011 05:09:20 AM UTC, original submission:  

On the recent development source (changeset 13960:ef96344a6e58), the test for allchild.m

  scripts\plot\allchild.m ................................ PASS    0/1    FAIL 1


>>>> processing e:\usr\Tatsu\mingwhome\octaves\hg\octave-work\scripts\plot\allchild.m
  ***** test
 hf = figure ("visible", "off");
 unwind_protect
   l = line;
   assert(get(allchild(hf),'type'),{'axes'; 'uimenu'; 'uimenu'; 'uimenu'})
 unwind_protect_cleanup
   close (hf);
 end_unwind_protect
!!!!! test failed
assert (get (allchild (hf), 'type'),{'axes'; 'uimenu'; 'uimenu'; 'uimenu'}) expected
{
  [1,1] = axes
  [2,1] = uimenu
  [3,1] = uimenu
  [4,1] = uimenu
}
but got
axes


Any suggestions?

Tatsuro MATSUOKA <tmacchant>

 

(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 tmacchant (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-12-02 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code