r23416 Breaks Report Tests

John Ralls jralls at ceridwen.us
Sun Nov 24 16:02:06 EST 2013


Very strange. The change adds a single line which calls setlocale(LC_ALL, “”) in main.scm. Three tests fail, test-standard-category-report, test-standard-net-barchart, and test-standard-net-linechart. The top of the backtrace is almost the same in all three, 

In ../../../../src/report/report-system/test/gnucash/report/report-system/test/test-extras.scm:
 281: 11      [list-ref ...
 281: 12*      [list-ref () {0}]

../../../../src/report/report-system/test/gnucash/report/report-system/test/test-extras.scm:281:13: In procedure list-ref in expression (list-ref tbl row-index):
../../../../src/report/report-system/test/gnucash/report/report-system/test/test-extras.scm:281:13: Argument 2 out of range: 0

in the first or

In ../../../../src/report/report-system/test/gnucash/report/report-system/test/test-extras.scm:
 284:  9    [string->number ...
 284: 10*    [car ...
 284: 11*     [tbl-ref () {0} 1]
 281: 12      [list-ref ...
 281: 13*      [list-ref () {0}]

../../../../src/report/report-system/test/gnucash/report/report-system/test/test-extras.scm:281:13: In procedure list-ref in expression (list-ref tbl row-index):
../../../../src/report/report-system/test/gnucash/report/report-system/test/test-extras.scm:281:13: Argument 2 out of range: 0

in the latter two.

Regards,
John Ralls




More information about the gnucash-devel mailing list