[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Test failures associated with license.m
From: |
Daniel J Sebald |
Subject: |
Re: Test failures associated with license.m |
Date: |
Mon, 06 Oct 2014 12:10:33 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 |
On 10/05/2014 11:02 PM, Rik wrote:
On 10/05/2014 02:52 AM, address@hidden wrote:
Subject:
Test failures associated with license.m
From:
Daniel J Sebald <address@hidden>
Date:
10/04/2014 11:41 AM
To:
Octave Maintainers <address@hidden>
List-Post:
<mailto:address@hidden>
Content-Transfer-Encoding:
7bit
Precedence:
list
MIME-Version:
1.0
Message-ID:
<address@hidden>
Content-Type:
text/plain; charset=ISO-8859-1; format=flowed
Message:
1
I'm seeing some test failures. One with polygcd, which I think is a
known random occurrence failure. (Should we change it to "known
failure"?) Then there are five failures for the output of the license
command:
processing
/usr/local/src/octave/octave-complex_operators/octave/scripts/miscellaneous/license.m
***** assert ((license ("inuse", "octave")).feature, "octave")
!!!!! test failed
cellfun: C must be a cell array
etc.
Dan,
I checked in a change to license.m so that it uses 'pkg list' instead of
'pkg describe all'
(http://hg.savannah.gnu.org/hgweb/octave/rev/672674d5e8d9). This fixes
the failing tests and also greatly speeds up the function because 'pkg
describe all' is very slow.
tic; test license; toc
was 8.4 seconds and is now 0.64 seconds or ~13X improvement.
Thanks Rik,
octave:1> tic; test license; toc
warning: describe: some elements in list of return values are undefined
***** assert ((license ("inuse", "octave")).feature, "octave")
!!!!! test failed
cellfun: C must be a cell array
Elapsed time is 0.0567482 seconds.
octave:2> tic; test license; toc
PASSES 11 out of 11 tests
Elapsed time is 0.16112 seconds.
The test became slower! ;)
All non-xfail tests now pass. However, there is at least one known failure:
processing
/usr/local/src/octave/octave-polygcd/build1/libinterp/corefcn/conv2.cc-tst
***** xtest
assert (convn (a, b, "valid"), c(3:10,3:10,3:10));
!!!!! known failure
that is dumping an outrageous amount of data to fntests.log constituting
about 99% of the file's contents. I will follow up with a separate thread.
Dan