octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #65296] Test fails because of variables shared


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #65296] Test fails because of variables shared and modified by multiple tests
Date: Tue, 13 Feb 2024 03:39:07 -0500 (EST)

Update of bug#65296 (group octave):

                  Status:                    None => Confirmed              
         Planned Release:                    None => 9.1.0 (current stable) 

    _______________________________________________________

Follow-up Comment #2:

Thomas Dean analyzed the issue further on the mailing list:

> In gsvd.cc:
> I inserted assert (size (A), [3, 5]) after line 333 and at the start of
> the next test at line 340.
>
> The shape of A is 3x5 at line 333.
>
https://hg.savannah.gnu.org/hgweb/octave/file/19973af3ac42/libinterp/corefcn/gsvd.cc#l334
> This is after the call to gsvd (A, B).
> The display of shared variables in this test shows A to have shape 5x3.
>
> The shape of A is 5x3 at line 340.
>
https://hg.savannah.gnu.org/hgweb/octave/file/19973af3ac42/libinterp/corefcn/gsvd.cc#l340


Imho, the tests shouldn't depend on each other like they currently do.
Potential errors in previous tests shouldn't have these (unexpected) side
effects on subsequent tests.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65296>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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