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: Fernando
Subject: [Octave-bug-tracker] [bug #65296] Test fails because of variables shared and modified by multiple tests
Date: Mon, 12 Feb 2024 14:06:40 -0500 (EST)

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

                 Summary: Test fails because of variables shared and modified
by multiple tests
                   Group: GNU Octave
               Submitter: tutissanalio
               Submitted: lun 12 feb 2024 19:06:40
                Category: Test Suite
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 9.0.90
         Discussion Lock: Any
        Operating System: Any
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: lun 12 feb 2024 19:06:40       By: Fernando <tutissanalio>
I downladed octave-9.0.90.tar.lz from alpha.gnu.org and compiled it on a Linux
Mint 21.3 (based on ubuntu 22.04). I am seeing a failed test for gsvd when
running make check.


libinterp/corefcn/gsvd.cc-tst .................................. pass   37/46 
 [ 0.981s /  0.540s]
                                                                   FAIL    1
                                                    (reported bug) XFAIL   8


I looked at the log file fntests.log and I saw it was complaining of incorrect
dimensions of the matrices:


***** test
 s = gsvd (single (eye (5)), B);
 assert (class (s), "single");
 [U,V,X,C,S] = gsvd (single (eye(5)), B);
 assert (class (U), "single");
 assert (class (V), "single");
 assert (class (X), "single");
 assert (class (C), "single");
 assert (class (S), "single");

 s = gsvd (A, single (eye (5)));
 assert (class (s), "single");
 [U,V,X,C,S] = gsvd (A, single (eye (5)));
 assert (class (U), "single");
 assert (class (V), "single");
 assert (class (X), "single");
 assert (class (C), "single");
 assert (class (S), "single");
!!!!! test failed
gsvd: A and B must have the same number of columns


The problem is that A and B are shared with previous tests and are modified in
some of those tests. They even change dimensions. If a previous test fails
(with known error), the modifications on A and B of the test seem to be
discarded, and that triggers the error, because later tests rely on A, B
having been modified.







    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Mensaje enviado vía Savannah
https://savannah.gnu.org/




reply via email to

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