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

 
 

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

Submitter:  John Donoghue <lostbard>
Submitted:  Wed 15 Apr 2015 07:56:31 PM UTC
   
 
Category:  Octave 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
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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.

ASSERT errors for:  assert (busdate ([datenum(2008, 1, 2), datenum(2007, 1, 1)]),[datenum(2008, 1, 3), datenum(2007, 1, 2)])

  Location  |  Observed  |  Expected  |  Reason
    (2)         733045       733044      Abs err 1 exceeds tol 0


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

C:\Users\John\AppData\Local\Temp\octave-help-SwZAoV:95: Unmatched `@end'.
warning: get_first_help_sentence: couldn't run makeinfo on 'binprice'


[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>
Group 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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group 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.13-f8d8.
    Corresponding source code