gnucash stable: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Fri Sep 12 19:32:48 EDT 2025


Updated	 via  https://github.com/Gnucash/gnucash/commit/0e48142f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/dcb7a8c2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6666027a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/04d6601b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6fab1386 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/26c02070 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1af9e33d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6fda0321 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/46972b31 (commit)
	from  https://github.com/Gnucash/gnucash/commit/04f9e11f (commit)



commit 0e48142fb7d807b381ce044f14a59842abc7c102
Merge: 5f7017854b dcb7a8c242
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Sep 12 16:32:12 2025 -0700

    Merge John Ralls's 'win32-tests' into stable

commit dcb7a8c24265b2160648abc8d59ff9a7e8ffb7e7
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Sep 4 15:21:32 2025 -0700

    Fix GncDateTime tests on Windows.

commit 6666027a9bbf53638c4ab620517dd390bb91ad27
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Sep 4 13:00:49 2025 -0700

    Coerce matching file separators for testing gnc_path_get_pkgsysconfdir
    
    g_build_filename claims that on Windows is uses the separator that last previously occurred
    in the parameters, but it looks only at the first character of each parameter to see if it's
    a separator. On Windows the leading character is a letter even on absolute paths so
    g_build_filename(sysconfdir, PROJECT_NAME, NULL) finds no separator and uses the Windows
    default "\\", but in the test function gnc_file_path_relative_part returns "/etc" so
    g_build_filename uses "/" for the project name separator. By explicitly inserting
    G_DIR_SEPARATOR_S before PROJECT_NAME we force the same separator and the test passes on
    Windows.

commit 04d6601b746bc35a1c7b50c7994a15d3293db548
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Sep 4 11:45:52 2025 -0700

    Always write XML files with Unix line endings.
    
    So that file size comparisons in test-load-save-files pass on Windows.

commit 6fab13864750ef3899fdecdd44dd70e150bfd276
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Aug 28 13:06:02 2025 -0700

    Adjust tests to accommodate Win32 special cases.

commit 26c0207060da28fbd8cec480b27236656d259220
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Aug 28 12:48:06 2025 -0700

    Force ISO date format for tests to remove OS and locale differences.

commit 1af9e33d814f6fef09e9cfee4958a7574f444074
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Aug 26 11:39:57 2025 -0700

    [Tests] Fix filepath handling and temp directory location on Win32 builds.

commit 6fda0321a71a825df8684e90adae24ef86f659af
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Aug 22 16:17:02 2025 -0700

    Fix path environment for Guile and GncModule tests on Windows.

commit 46972b3125e6b6515acbc4152409f6dab4c295e4
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Aug 21 13:45:18 2025 -0700

    Set policy CMP0177 and follow the documented recommendations regarding DESTINATION paths.



Summary of changes:
 CMakeLists.txt                                     |   5 +
 common/cmake_modules/GncAddSchemeTargets.cmake     |   4 +-
 common/cmake_modules/GncAddTest.cmake              | 124 +++++++++++----------
 .../reports/standard/test/test-balsheet-pnl.scm    |  17 +--
 .../report/reports/standard/test/test-charts.scm   |  19 ++--
 .../standard/test/test-equity-statement.scm        |   5 +-
 .../reports/standard/test/test-ifrs-cost-basis.scm |  31 +++---
 .../reports/standard/test/test-transaction.scm     |   3 +-
 gnucash/report/test/test-report-extras.scm         |   7 +-
 gnucash/report/test/test-report-html.scm           |   7 +-
 libgnucash/backend/dbi/test/CMakeLists.txt         |   1 -
 libgnucash/backend/xml/io-gncxml-v2.cpp            |   4 +-
 .../backend/xml/test/gtest-load-save-files.cpp     |  17 ++-
 libgnucash/backend/xml/test/gtest-xml-contents.cpp |   6 +-
 libgnucash/backend/xml/test/test-load-xml2.cpp     |   5 +-
 .../core-utils/test/gtest-path-utilities.cpp       |   7 +-
 libgnucash/core-utils/test/test-userdata-dir.c     |  21 +++-
 libgnucash/engine/gnc-datetime.cpp                 |   2 +-
 libgnucash/engine/test/gtest-gnc-datetime.cpp      |  23 +++-
 libgnucash/engine/test/gtest-gnc-numeric.cpp       |   2 +
 libgnucash/gnc-module/test/CMakeLists.txt          |  27 +++--
 21 files changed, 212 insertions(+), 125 deletions(-)



More information about the gnucash-patches mailing list