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:
Geert Janssens 2013-11-26 09:51:51 +00:00
parent bcf5043c01
commit e5b5c33b74
4 changed files with 10 additions and 1 deletions

View File

@ -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))

View File

@ -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))

View File

@ -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))

View File

@ -74,7 +74,7 @@
;; Initalialize localization, otherwise reports may output
;; invalid characters
;;(setlocale LC_ALL "")
(setlocale LC_ALL "")
;;(use-modules (ice-9 statprof))