octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #34338] Test fail in mappers.cc (MinGW)


From: Rik
Subject: [Octave-bug-tracker] [bug #34338] Test fail in mappers.cc (MinGW)
Date: Wed, 30 Nov 2011 21:57:25 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0

Follow-up Comment #5, bug #34338 (project octave):

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


%! charset = char (0:127);
%! result = zeros (1, 128);
%! result (33:127) = 1;
%! if (ispc () && ! isunix ())
%!   result(10) = 1;
%! endif
%! assert (isprint (charset), logical (result));


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.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34338>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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