bugGNU Octave - Bugs: bug #34338, Test fail in mappers.cc (MinGW)

 
 

bug #34338: Test fail in mappers.cc (MinGW)

Submitted by:  Tatsuro MATSUOKA <tmacchant>
Submitted on:  Tue 20 Sep 2011 06:42:03 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Wed 30 Nov 2011 10:54:15 PM UTC, comment #6:

Now

src\mappers.cc ......................................... PASS 316/316

Thanks!
This post can be closed.

Tatsuro MATSUOKA <tmacchant>
Wed 30 Nov 2011 09:57:25 PM UTC, comment #5:

Thanks. It is clear that the problem is at position 10 in the expected results. The test being run is quoted below.

Clearly, Octave is trying to detect MinGW and change the results for character 10 (<Return Key>). If MinGW now returns 0 for character 10 then I will just delete the extra code in the test. Hopefully this won't cause a problem with CygWin.

Please try updating to revision 13966:62a18e06cfc5 (http://hg.savannah.gnu.org/hgweb/octave/rev/62a18e06cfc5) where I have modified the test. It should pass now.

Rik <rik5>
Project Administrator
Wed 30 Nov 2011 09:21:27 PM UTC, comment #4:

The result is

Tatsuro MATSUOKA <tmacchant>
Wed 30 Nov 2011 06:57:07 PM UTC, comment #3:

Tatsuro,

Can you apply the attached patch and then run 'test mappers.cc'?

I've changed the test code so it will print out the expected values and the real values. This way we can find the exact problem.

(file #24507)

Rik <rik5>
Project Administrator
Wed 30 Nov 2011 09:33:18 AM UTC, comment #2:

Is this test still failing with the latest development code? src\mappers.cc ......................................... PASS 315/316 FAIL 1

Yes. when I have execute the above from octave prompt, no error appeared as was written in the first post. ????

Tatsuro MATSUOKA <tmacchant>
Wed 30 Nov 2011 06:05:56 AM UTC, comment #1:

Is this test still failing with the latest development code?

Rik <rik5>
Project Administrator
Tue 20 Sep 2011 06:42:03 AM UTC, original submission:

I have built the development source.

changeset 13167:f7cb824dc8c0
Mon Sep 19 18:03:43 2011 -0700

As far as I remember, the test above was in the test_string.m.
This is already known but

However when I have execute the above from octave prompt, no error appeared.

Tatsuro MATSUOKA <tmacchant>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #24507:  mappers.patch added by rik5 (371B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 30 Nov 2011 11:13:59 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Wed 30 Nov 2011 06:57:07 PM UTCrik5Attached File-=>Added mappers.patch, #24507

    Back to the top


    Powered by Savane 3.1-cleanup1