bugGNU Octave - Bugs: bug #35046, Test fail in ov-oncleanup.cc...

 
 

bug #35046: Test fail in ov-oncleanup.cc (MinGW)

Submitter:  Tatsuro MATSUOKA <tmacchant>
Submitted:  Tue 13 Dec 2011 03:43:49 AM UTC
   
 
Category:  None 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
   

Wed 14 Dec 2011 12:15:58 AM UTC, comment #3: 

Fixed by deleting old onCleanup.oct file.

Rik <rik5>
Group administrator
Tue 13 Dec 2011 09:17:05 PM UTC, comment #2: 

After renaming onCleanup.oct in src/DLD-FUNCTIONS/ to onCleanup.oct.tmp, I executed the test

"test ov-oncleanup.cc" did not work.
SO I execute "test griddata3.m"


octave:1> test ov-oncleanup.cc
????? ov-oncleanup.cc does not exist in path
octave:2> test griddata3.m
PASSES 2 out of 2 tests


Tatsuro MATSUOKA <tmacchant>
Tue 13 Dec 2011 06:10:21 AM UTC, comment #1: 

Look for an onCleanup.oct in the src/DLD-FUNCTIONS directory and delete it.  Test that the fix works with


run-octave
test ov-oncleanup.cc


This fix should clear all 4 of your reported bugs with onCleanup().

Rik <rik5>
Group administrator
Tue 13 Dec 2011 03:43:49 AM UTC, original submission:  

changeset 14036:29e9eb59f917
date Mon Dec 12 13:52:35 2011 -0800


>>>>> processing e:\usr\Tatsu\mingwhome\octaves\hg\octave-work\src\ov-oncleanup.cc
  ***** test
 old_wstate = warning ("query");
 unwind_protect
   trigger = onCleanup (@() warning ("on", "__MY_WARNING__"));
   warning ("off", "__MY_WARNING__");
   assert ((warning ("query", "__MY_WARNING__")).state, "off");
   clear trigger
   assert ((warning ("query", "__MY_WARNING__")).state, "on");
 unwind_protect_cleanup
   warning (old_wstate);
 end_unwind_protect
!!!!! test failed
API version api-v45+ found in .oct file function `onCleanup'
       does not match the running Octave (API version api-v46+)
       this can lead to incorrect results or other failures
       you can fix this problem by recompiling this .oct file


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-14 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code