mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 712299 - Tax Invoice with guile 2 doesn't display currency symbols (second attempt)
This re-applies commit r23416 and fixes the test reports by setting a fixed locale before running the tests. This should ensure a predictable report output to compare against git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23443 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
bcf5043c01
commit
e5b5c33b74
@ -19,6 +19,9 @@
|
||||
(use-modules (gnucash report standard-reports test test-generic-category-report))
|
||||
(use-modules (gnucash report standard-reports category-barchart))
|
||||
|
||||
;; Explicitly set locale to make the report output predictable
|
||||
(setlocale LC_ALL "C")
|
||||
|
||||
(define (run-test)
|
||||
(run-category-income-expense-test category-barchart-income-uuid category-barchart-expense-uuid)
|
||||
(run-category-asset-liability-test category-barchart-asset-uuid category-barchart-liability-uuid))
|
||||
|
@ -11,6 +11,9 @@
|
||||
(use-modules (gnucash report standard-reports test test-generic-net-barchart))
|
||||
(use-modules (gnucash report standard-reports net-barchart))
|
||||
|
||||
;; Explicitly set locale to make the report output predictable
|
||||
(setlocale LC_ALL "C")
|
||||
|
||||
(define (run-test)
|
||||
(run-net-asset-income-test net-worth-barchart-uuid income-expense-barchart-uuid))
|
||||
|
||||
|
@ -11,6 +11,9 @@
|
||||
(use-modules (gnucash report standard-reports test test-generic-net-linechart))
|
||||
(use-modules (gnucash report standard-reports net-linechart))
|
||||
|
||||
;; Explicitly set locale to make the report output predictable
|
||||
(setlocale LC_ALL "C")
|
||||
|
||||
(define (run-test)
|
||||
(run-net-asset-test net-worth-linechart-uuid))
|
||||
|
||||
|
@ -74,7 +74,7 @@
|
||||
|
||||
;; Initalialize localization, otherwise reports may output
|
||||
;; invalid characters
|
||||
;;(setlocale LC_ALL "")
|
||||
(setlocale LC_ALL "")
|
||||
|
||||
;;(use-modules (ice-9 statprof))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user