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

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

[Octave-bug-tracker] [bug #64123] Unexpected warning messages when runni


From: Rik
Subject: [Octave-bug-tracker] [bug #64123] Unexpected warning messages when running *.tst files in test/ directory
Date: Fri, 28 Apr 2023 15:13:18 -0400 (EDT)

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

                 Summary: Unexpected warning messages when running *.tst files
in test/ directory
                   Group: GNU Octave
               Submitter: rik5
               Submitted: Fri 28 Apr 2023 12:13:16 PM PDT
                Category: Test Suite
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 28 Apr 2023 12:13:16 PM PDT By: Rik <rik5>
I ran "test XXX.tst" for each of the .tst files in the directory test/.  Some
of them produced warning messages to stderr which should probably be
suppressed with


warning ('off', 'Octave:warning-id', 'local');


at the top of the test.  Obviously, 'Octave:warning-id' needs to be
substituted with the real warning ID in question.

The output was


bug-53579.tst
warning: global: 'aa' is defined in the current scope.
warning: global: in a future version, global variables must be declared before
use.
warning: global: global value overrides existing local value
warning: called from
    sub1 at line 2 column 3
    __test__ at line 8 column 25
    test at line 682 column 11
    /tmp/oct-JgRaqK at line 3 column 1

warning: global: 'bb' is defined in the current scope.
warning: global: in a future version, global variables must be declared before
use.
warning: global: global value overrides existing local value
warning: called from
    sub1 at line 2 column 3
    __test__ at line 8 column 25
    test at line 682 column 11
    /tmp/oct-JgRaqK at line 3 column 1

PASSES 1 out of 1 test
deprecate-props.tst
????? /home/rik/wip/Projects_Mine/octave-dev/test/deprecate-props.tst has no
tests available
for.tst
warning: FOR loop limit is infinite, will stop after 9223372036854775807
steps
warning: called from
    __test__ at line 5 column 2
    test at line 682 column 11
    /tmp/oct-JgRaqK at line 3 column 1

warning: FOR loop limit is infinite, will stop after 9223372036854775807
steps
warning: called from
    __test__ at line 13 column 2
    test at line 682 column 11
    /tmp/oct-JgRaqK at line 3 column 1

PASSES 20 out of 20 tests
leftdiv.tst
warning: matrix singular to machine precision
warning: called from
    __test__ at line 2 column 1
    test at line 682 column 11
    /tmp/oct-JgRaqK at line 3 column 1

warning: matrix singular to machine precision
warning: called from
    __test__ at line 2 column 1
    test at line 682 column 11
    /tmp/oct-JgRaqK at line 3 column 1

warning: matrix singular to machine precision
warning: called from
    __test__ at line 2 column 1
    test at line 682 column 11
    /tmp/oct-JgRaqK at line 3 column 1

warning: matrix singular to machine precision
warning: called from
    __test__ at line 2 column 1
    test at line 682 column 11
    /tmp/oct-JgRaqK at line 3 column 1

PASSES 6 out of 6 tests
parser.tst
warning: colon arguments should be scalars
warning: called from
    __test__ at line 13 column 2
    test at line 682 column 11
    /tmp/oct-JgRaqK at line 3 column 1

PASSES 53 out of 53 tests
range.tst
warning: imaginary part of complex colon arguments is ignored
warning: called from
    __test__ at line 2 column 1
    test at line 682 column 11
    /tmp/oct-JgRaqK at line 3 column 1

PASSES 395 out of 395 tests
struct.tst
warning: 'struct' object indexed with empty index list
warning: called from
    __test__ at line 7 column 4
    test at line 682 column 11
    /tmp/oct-JgRaqK at line 3 column 1

PASSES 48 out of 48 tests


The failure of deprecated-props.tst is because there are no deprecated graphic
properties in Octave 8 or 9, so we get a pass on that and there is nothing to
fix there.







    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Fri 28 Apr 2023 12:13:16 PM PDT  Name: test_warning.list  Size: 3KiB  
By: rik5

<http://savannah.gnu.org/bugs/download.php?file_id=54683>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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