gnucash stable: Fix inadvertant insertion in test-trial-balance.scm.

John Ralls jralls at code.gnucash.org
Mon Sep 22 17:56:23 EDT 2025


Updated	 via  https://github.com/Gnucash/gnucash/commit/af4296b4 (commit)
	from  https://github.com/Gnucash/gnucash/commit/9c05be79 (commit)



commit af4296b41be337333ce0a7aa1d8b596d18f10ff5
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Sep 22 14:56:15 2025 -0700

    Fix inadvertant insertion in test-trial-balance.scm.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c046460556..f8e2a35bda 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -625,7 +625,8 @@ if (MINGW)
 endif()
 
 if (APPLE)
-  execute_process(COMMAND clang --print-file-name=libclang_rt.asan_osx_dynamic.dylib
+  set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-gnu-folding-constant")
+   execute_process(COMMAND clang --print-file-name=libclang_rt.asan_osx_dynamic.dylib
     OUTPUT_VARIABLE ASAN_DYNAMIC_LIB
     OUTPUT_STRIP_TRAILING_WHITESPACE)
   set(ASAN_DYNAMIC_LIB_ENV "DYLD_INSERT_LIBRARIES=${ASAN_DYNAMIC_LIB}")
diff --git a/gnucash/report/reports/standard/test/test-trial-balance.scm b/gnucash/report/reports/standard/test/test-trial-balance.scm
index 8027f18199..9591dcff96 100644
--- a/gnucash/report/reports/standard/test/test-trial-balance.scm
+++ b/gnucash/report/reports/standard/test/test-trial-balance.scm
@@ -54,7 +54,7 @@
   (let* ((account-alist (create-test-data))
          (options (gnc:make-report-options uuid))
          (gbp-bank (assoc-ref account-alist "GBP Bank"))
-6         (usd-bank (assoc-ref account-alist "Bank"))
+         (usd-bank (assoc-ref account-alist "Bank"))
          (expense (assoc-ref account-alist "Expenses"))
          (equity (assoc-ref account-alist "Equity"))
          (income (assoc-ref account-alist "Income"))



Summary of changes:
 CMakeLists.txt                                              | 3 ++-
 gnucash/report/reports/standard/test/test-trial-balance.scm | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list