bugGNU Octave - Bugs: bug #57819, [octave forge] (financial) test...


bug #57819: [octave forge] (financial) test failure on macOS

Submitted by:  Andrew Janke <apjanke>
Submitted on:  Sat 15 Feb 2020 03:52:35 AM UTC  
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  5.2.0 Operating System:  Mac OS

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 15 Feb 2020 08:20:44 PM UTC, comment #2: 

Yeah, that looks right to me. The functions google.m and yahoo.m were moved into the private directory for some reason, but fetch.m still contains tests calling 'google()'.

Mike Miller <mtmiller>
Project Administrator
Sat 15 Feb 2020 04:23:02 AM UTC, comment #1: 

Oops; a bad "verbatim" tag lost most of my post.


  GNU Octave Version: 5.2.0 (hg id: eb46a9f47164)
  Tests run on angharad.local (macOS) at 14-Feb-2020 23:22:00
  Test execution time: 00:00:23

  PASS                              292
  FAIL                                3

  Failed tests:

octave:9> test /Users/janke/octave/financial-0.5.3/private/fetch.m
***** test
 [d f] = fetch (google(), "yhoo", 732494, 732501, "d");
 assert(d, dgood, eps);
 assert(f, fgood, eps);
!!!!! test failed
'google' undefined near line 3 column 18
shared variables   scalar structure containing the fields:
    fgood =
      [1,1] = Date
      [1,2] = Open
      [1,3] = High
      [1,4] = Low
      [1,5] = Close
      [1,6] = Volume
    dgood =
       7.325010000000000e+05   3.477000000000000e+01   3.487000000000000e+01   3.425000000000000e+01   3.462000000000000e+01   1.552055300000000e+07
       7.325000000000000e+05   3.387000000000000e+01   3.477000000000000e+01   3.372000000000000e+01   3.463000000000000e+01   1.636029700000000e+07
       7.324990000000000e+05   3.464000000000000e+01   3.497000000000000e+01   3.403000000000000e+01   3.412000000000000e+01   1.369480600000000e+07
       7.324980000000000e+05   3.425000000000000e+01   3.508000000000000e+01   3.420000000000000e+01   3.460000000000000e+01   1.610302900000000e+07
       7.324940000000000e+05   3.476000000000000e+01   3.485000000000000e+01   3.422000000000000e+01   3.444000000000000e+01   9.875220000000000e+06
    wgood =
       7.325010000000000e+05   3.425000000000000e+01   3.508000000000000e+01   3.372000000000000e+01   3.462000000000000e+01   6.085940000000000e+07
       7.324940000000000e+05   3.588000000000000e+01   3.624000000000000e+01   3.422000000000000e+01   3.444000000000000e+01   6.713210000000000e+07

Maybe related to https://savannah.gnu.org/bugs/index.php?54045 - maybe the google() function was removed but the test for it was left in?

Andrew Janke <apjanke>
Sat 15 Feb 2020 03:52:35 AM UTC, original submission:  

I'm getting a test failure for the financial package 0.5.3 in Octave 5.2.0 on macOS 10.14.

Andrew Janke <apjanke>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by apjanke (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-15 mtmiller Summary[financial] test failure on macOS => [octave forge] (financial) test failure on macOS

    Back to the top

    Powered by Savane 3.7