octave-maintainers
[Top][All Lists]
Advanced

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

Re: [Octave Forge] Octave 4.0 call for packages


From: Julien Bect
Subject: Re: [Octave Forge] Octave 4.0 call for packages
Date: Fri, 17 Apr 2015 08:28:00 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

Le 12/04/2015 10:01, Oliver Heimlich a écrit :
On 12.04.2015 08:57, Julien Bect wrote:
Le 11/04/2015 22:43, Oliver Heimlich a écrit :
On 11.04.2015 21:31, Julien Bect wrote:
Le 11/04/2015 17:40, Oliver Heimlich a écrit :
The %!shared blocks don't work. However, they do if I put a comma
between variables:

%!shared x t u   ## <- broken
%!shared x, t, u ## <- works

I guess that most (if not all) failures come from this kind of error.

Hello Oliver,

I have fixed all shared blocks.

Before I make a release, could you please try the attached tarball and
tell me if there are other problems ?

@++
Julien


Julien,

much better! However, there are still some problems with the test case
syntax, e.g. %!% is an illegal pattern here:

%!% incorrect number of input arguments
%!error param = stk_param_estim ()
%!error param = stk_param_estim (model);
%!error param = stk_param_estim (model, xi);
%!error param = stk_param_estim (model, xi, zi);
%!error param = stk_param_estim (model, xi, zi, param0, log(eps),
@stk_param_relik, pi);

You can probably identify the problems in the log file.

PASS 905
FAIL 19

Oliver

Here is another release candidate for STK with, I hope, all unit tests
fixed:

http://sourceforge.net/projects/kriging/files/temp/stk-2.2.1-rc2-octpkg.tar.gz


Could you please tell me if everything is ok now ?


2 Errors left.
1. Obviously GNU Octave wraps test cases into a temporary __test__ function. So, the caller function name in the error id is not as expected.
    2. %!error can not check for syntax errors


>>>>> processing C:\Users\Oliver\octave\stk-2.2.1\misc\error\stk_error.m
***** error id=STK:eval_test_code:ClintEastwood stk_error (errmsg, mnemonic);
!!!!! error failed.
Expected id=STK:eval_test_code:ClintEastwood, but got <STK:__test__:ClintEastwood>


>>>>> processing C:\Users\Oliver\octave\stk-2.2.1\misc\test\stk_test.m
***** error }{
!!!!! test failed: syntax error
parse error:

  syntax error

>>> function __test__( )
 }{
endfunction
     ^

Oliver,

I have just released STK 2.2.1, with fixed tests for all the problems you discovered.

Could you please test it on Win7/64bits and update the wiki if everything is ok ?

@++
Julien




reply via email to

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