octave-maintainers
[Top][All Lists]
Advanced

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

Re: tests working on first run of __run_test_suite__ failing second time


From: c.
Subject: Re: tests working on first run of __run_test_suite__ failing second time around
Date: Mon, 23 Dec 2013 17:53:49 +0100

On 23 Dec 2013, at 17:50, c. <address@hidden> wrote:

> Hi,
> 
> If I do "test ctor-vs-method.tst" no matter how many times I try, it always 
> passes:
> 
>>> test ctor-vs-method.tst 
> PASSES 4 out of 4 tests
>>> test ctor-vs-method.tst 
> PASSES 4 out of 4 tests
> ...
> 
> If I run __run_test_suite__ once, I get:
> 
> ctor-vs-method.tst ..................................... PASS    4/4
> 
> the second time I get:
> 
> ctor-vs-method.tst ..................................... PASS    1/4    FAIL 3
> 
> if, after that, I do "test ctor-vs-method.tst", I get:
> 
>>> test ctor-vs-method.tst 
>  ***** shared d, o
> d = derived ();
> o = other ();
> 
> !!!!! test failed
> mismatch in number of fields
> shared variables   scalar structure containing the fields:
>    d: 0x0 matrix
>    o: 0x0 matrix
> 
> 
> This is on OSX 10.9.1 with octave-3.8.0-rc2, can anyone confirm this behaviur?
> Any idea what could be causing it?
> 
> c.

I just noticed that if I do "clear classes" the tests wor again:

>> clear classes
>> test ctor-vs-method.tst 
PASSES 4 out of 4 tests

c.

reply via email to

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