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

 
 

bug #44851: [octave forge] (financial) test failures

Submitted by:  John Donoghue <lostbard>
Submitted on:  Wed 15 Apr 2015 07:56:31 PM UTC  
 
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  JohnD Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 12 Jul 2018 03:05:36 PM UTC, comment #2:

Testing with octave 4.4 with and financial 0.5.1 in windows, gives 13 fails.

Some of these are due to a depndancy on the statistics package, documented on Bug #54132

With statistics loaded, only 2 failures which are documented on Bug ##54045

closing report as fixed

John Donoghue <lostbard>
Project Member
Wed 15 Apr 2015 08:06:41 PM UTC, comment #1:

Patch included that uses xtest for the provate function tests, and fixes the datesplit and year tests.

It does not fix install warnings or issues with busdate/days

(file #33683)

John Donoghue <lostbard>
Project Member
Wed 15 Apr 2015 07:56:31 PM UTC, original submission:

On running the tests for the financial package, a number of tests fail [1] [2]
Some are due to failures as running tests from private functions fetch_google.m, fetch_yahoo.m

Some failures occur in datesplit.m beuase it uses the current day/month but datevec will return 1s for day, month if no date is given.

Using the sources from mercurial have the same failures, and in addition:

year.m fails as is testing against year 4 - expecting 1934, but is getting a value of 2034 (same as matlab)

busdate.m and busday fails with values off by 1.

On install from dev several files have warnings printed similar to:

[1] http://wiki.octave.org/Octave-Forge#GNU_Octave_4.0_compatibility_assessment
[2] http://octave.ln0.de/octave-4.0rc3-win7x64/financial-0.4.0-fntests.log

John Donoghue <lostbard>
Project Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #33683:  finfix.patch added by lostbard (4KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by lostbard (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.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-07-12 lostbard StatusNone => Fixed
        Open/ClosedOpen => Closed
    2017-08-13 jwe Summaryoctave-forge financial packages test failures => [octave forge] (financial) test failures
    2015-04-15 lostbard Attached File- => Added finfix.patch, #33683

    Back to the top


    Powered by Savane 3.3