Le 11/04/2015 08:59, Julien Bect a écrit :
Le 11/04/2015 01:49, Oliver Heimlich a écrit :
stk 2.2.0 - OK
PASS 576, FAIL 348 (many failed because of undefined variables)
82 (of 222) .m files have no tests.
Ouch, that is a very high number of failing tests :((
I have never seen any "undefined variables" failure before and the
tests results sent by JohnD for 4.0.0rc2 32 bits show no failure for STK.
So, this must be a Win7/64bits-specific problem, then...
I don't have access to a Win7/64bits box at home, but I will be able
to test next week (hopefully on 4.0.0rc3, if the installer has been
released by then).
Thanks Oliver for uploading your logs.
Here is a typical example of the test failures you get with Octave
4.0rc2 under Win7/64bits:
***** shared x t u
t = rand(3, 2);
x = stk_dataframe(t);
!!!!! shared variable initialization failed
***** test u = apply(x, 1, @sum);
!!!!! test failed
'x' undefined near line 2 column 12
***** assert (isequal(u, sum(t, 1)))
!!!!! test failed
'u' undefined near line 2 column 17
...
Could you please try to see if there's anything wrong with the code in
my %!shared block ?
pkg load stk
t = rand (3, 2);
x = stk_dataframe (t);
Otherwise, does anybody have any idea about why this fails ? Is there
anything wrong with the way I use %!shared and %!test blocks ?
Finally, I can see on the wiki, in the last column : "Tests don't
cleanup temporary files". What does it mean ? How do you see that in the
log ?