mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
report-test: move add-to-load-path to build system
The unit test for cashflow-barchart.scm needs module stylesheets to work, to render gnc-monetary objects correctly. It makes sense to add the extra load-path needed by the module in the build system instead of with code in the test file. This is only needed when building with autotools. It seems cmake builds don't need this.
This commit is contained in:
parent
5ca2834bd0
commit
41ad89154f
@ -30,6 +30,7 @@ GNC_TEST_DEPS = \
|
||||
--guile-load-dir ${top_builddir}/gnucash/report/report-system/test \
|
||||
--guile-load-dir ${top_builddir}/gnucash/report/standard-reports \
|
||||
--guile-load-dir ${top_builddir}/gnucash/report/standard-reports/test \
|
||||
--guile-load-dir ${top_builddir}/gnucash/report/stylesheets \
|
||||
\
|
||||
--library-dir ${top_builddir}/gnucash/report/report-system \
|
||||
--library-dir ${top_builddir}/libgnucash/core-utils \
|
||||
|
@ -29,8 +29,6 @@
|
||||
(use-modules (gnucash report report-system))
|
||||
(use-modules (gnucash report report-system test test-extras))
|
||||
(use-modules (gnucash report standard-reports cashflow-barchart))
|
||||
|
||||
(add-to-load-path "../../stylesheets/")
|
||||
(use-modules (gnucash report stylesheets))
|
||||
|
||||
(use-modules (ice-9 format))
|
||||
|
Loading…
Reference in New Issue
Block a user