GnuCash
Contact   Instructions
Bug 796877 - test-stress-options fails
Summary: test-stress-options fails
Status: RESOLVED FIXED
Alias: None
Product: GnuCash
Classification: Unclassified
Component: Build system (show other bugs)
Version: 3.3
Hardware: PC Linux
: Normal normal
Target Milestone: ---
Assignee: core
QA Contact: core
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-01 22:06 EDT by Dmitry Smirnov
Modified: 2019-01-09 11:45 EST (History)
6 users (show)

See Also:


Attachments

Description Dmitry Smirnov 2018-10-01 22:06:29 EDT
~~~~
        Start 110: test-stress-options 
110/118 Test #110: test-stress-options ..........................***Failed    0.04 sec 
~~~~

~~~~
110/118 Testing: test-stress-options 
110/118 Test: test-stress-options 
Command: "/usr/bin/cmake" "-E" "env" "/usr/bin/guile" "--debug" "-l" "/build/gnucash-3.3/gnucash/report/standard-reports/test/test-stress-options.scm" "-c" "(exit (run-test))"                                                                                                                                           
Directory: /build/gnucash-3.3/.build/gnucash/report/standard-reports/test 
"test-stress-options" start time: Oct 02 01:47 UTC 
Output: 
---------------------------------------------------------- 
;;; Stat of /build/gnucash-3.3/gnucash/report/standard-reports/test/test-stress-options.scm failed: 
;;; In procedure stat: No such file or directory: "/build/gnucash-3.3/gnucash/report/standard-reports/test/test-stress-options.scm" 
Backtrace: 
           0 (primitive-load "/build/gnucash-3.3/gnucash/report/stan?") 

ERROR: In procedure primitive-load: 
In procedure open-file: No such file or directory: "/build/gnucash-3.3/gnucash/report/standard-reports/test/test-stress-options.scm" 
<end of output> 
Test time =   0.04 sec 
---------------------------------------------------------- 
Test Failed. 
"test-stress-options" end time: Oct 02 01:47 UTC 
"test-stress-options" time elapsed: 00:00:00 
---------------------------------------------------------- 
~~~~

Looks like release (source) tarball may have a missing file...
Comment 1 Aaron W. Swenson 2019-01-09 06:55:30 EST
I'm running into this same problem with 3.4.

# ls -l /var/tmp/portage/app-office/gnucash-3.4/work/gnucash-3.4/gnucash/report/standard-reports/test/
total 164
-rw-r--r-- 1 portage portage  1188 Jan  7 05:21 CMakeLists.txt
-rw-r--r-- 1 portage portage 22896 Dec 25 17:43 test-balsheet-pnl.scm
-rw-r--r-- 1 portage portage  9355 Dec 29 15:09 test-cashflow-barchart.scm
-rw-r--r-- 1 portage portage  7635 Dec 25 17:43 test-cash-flow.scm
-rw-r--r-- 1 portage portage 11761 Dec 25 17:43 test-charts.scm
-rw-r--r-- 1 portage portage  9045 Dec 29 15:09 test-income-gst.scm
-rw-r--r-- 1 portage portage 12833 Dec 29 15:09 test-standard-category-report.scm
-rw-r--r-- 1 portage portage 14650 Dec 29 15:09 test-standard-net-barchart.scm
-rw-r--r-- 1 portage portage  8997 Dec 29 15:09 test-standard-net-linechart.scm
-rw-r--r-- 1 portage portage 46314 Jan  7 05:21 test-transaction.scm

The file is missing from the source tarball. After I copy test-stress-options.scm into the above directory, the test passes.
Comment 2 Geert Janssens 2019-01-09 11:45:03 EST
Thanks for the report. I didn't see this in time for the 3.4 release, but I have just pushed a fix for it to maint:
https://github.com/Gnucash/gnucash/commit/f3c8c040b1de906feeb7a5b40d794aacd8effa42

Note You need to log in before you can comment on or make changes to this bug.