[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49509] [mxe] failing tests on WinXP, includin
From: |
Hartmut |
Subject: |
[Octave-bug-tracker] [bug #49509] [mxe] failing tests on WinXP, including "test help" |
Date: |
Tue, 1 Nov 2016 20:47:05 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 |
URL:
<http://savannah.gnu.org/bugs/?49509>
Summary: [mxe] failing tests on WinXP, including "test help"
Project: GNU Octave
Submitted by: hardy
Submitted on: Tue 01 Nov 2016 08:47:03 PM GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.0-rc3
Operating System: Microsoft Windows
_______________________________________________________
Details:
I have observed this with the current pre-release 4.2.0-rc3 under Windows XP
(without a Java JRE installed, I don't know if this is relevant).
The following tests of the test suite fail:
test __unimplemented__
test get_first_help_sentence
test help
test test
The function calls in those test just return nothing instead of the expected
strings. This is especially bad becaus this also means that "help" does not
work at all.
On Windows 7 (but with JRE) this does NOT happen.
On the same WinXP machine, this does NOT happen with Octave 4.2.0-rc2. So we
spoilt something between rc2 and rc3.
Here are the details from the fntests.log file:
>>>>> processing
C:\Octave\Octave-4.2.0-rc3\share\octave\4.2.0-rc3\m\help\__unimplemented__.m
***** test
str = __unimplemented__ ("no_name_function");
assert (isempty (str));
str = __unimplemented__ ("quad2d");
assert (str(1:51), "quad2d is not implemented. Consider using dblquad.");
str = __unimplemented__ ("MException");
assert (str(1:58), "the 'MException' function is not yet implemented in
Octave");
!!!!! test failed
str(51): out of bound 0
>>>>> processing
C:\Octave\Octave-4.2.0-rc3\share\octave\4.2.0-rc3\m\help\get_first_help_sentence.m
***** assert (get_first_help_sentence ('get_first_help_sentence'), ...
"Return the first sentence of a function's help text.")
!!!!! test failed
ASSERT errors for: assert (get_first_help_sentence
('get_first_help_sentence'),"Return the first sentence of a function's help
text.")
Location | Observed | Expected | Reason
[] Return the first sentence of a function's help text.
Strings don't match
>>>>> processing
C:\Octave\Octave-4.2.0-rc3\share\octave\4.2.0-rc3\m\help\help.m
***** assert (! isempty (strfind (help ("ls"), "List directory contents")))
!!!!! test failed
assert (!isempty (strfind (help ("ls"), "List directory contents"))) failed
>>>>> processing
C:\Octave\Octave-4.2.0-rc3\share\octave\4.2.0-rc3\m\testfun\test.m
***** fail ("test (1,2,3,4)", "usage.*test") # too many args, generates
usage()
!!!!! test failed
expected error <usage.*test>
but got <Invalid call to test. Correct usage is:
>
I have also found (by chance) a patch that resolves this issue for me (already
discussed before in bug #49118 comment #25). I will attach this as soon as I
have a bug number.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49509>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49509] [mxe] failing tests on WinXP, including "test help",
Hartmut <=
- [Octave-bug-tracker] [bug #49509] [mxe] failing tests on WinXP, including "test help", Hartmut, 2016/11/01
- [Octave-bug-tracker] [bug #49509] [mxe] failing tests on WinXP, including "test help", Hartmut, 2016/11/04
- Message not available
- [Octave-bug-tracker] [bug #49509] [mxe] failing tests on WinXP, including "test help", Hartmut, 2016/11/04
- [Octave-bug-tracker] [bug #49509] [mxe] failing tests on WinXP, including "test help", Markus Mützel, 2016/11/04
- [Octave-bug-tracker] [bug #49509] [mxe] failing tests on WinXP, including "test help", Hartmut, 2016/11/04
- Message not available
- [Octave-bug-tracker] [bug #49509] [mxe] failing tests on WinXP, including "test help", Hartmut, 2016/11/04
- Message not available
- [Octave-bug-tracker] [bug #49509] [mxe] failing tests on WinXP, including "test help", Hartmut, 2016/11/04
- [Octave-bug-tracker] [bug #49509] [mxe] failing tests on WinXP, including "test help", Hartmut, 2016/11/04
- [Octave-bug-tracker] [bug #49509] [mxe] failing tests on WinXP, including "test help", Hartmut, 2016/11/04
- [Octave-bug-tracker] [bug #49509] [mxe] failing tests on WinXP, including "test help", Rik, 2016/11/07