[GNC] check failed test-userdata-dir-invalid-home building gnucash 5.9 on Linux Mint 22 Wilma
Geert Janssens
geert.gnucash at kobaltwit.be
Thu Oct 31 07:18:05 EDT 2024
Hi John,
Do you have the environment variable GNC_DATA_HOME set in your environment,
pointing at /home/john/gnucash ?
That may explain the failing test.
The test is not relevant for the proper functioning of gnucash in normal
circumstances though, so you can ignore the issue. It tests for the corner
case that no valid home directory exists for the current user. You're not in
that situation.
I will see if I can improve the test to also work when GNC_DATA_HOME is set
for a future release.
Regards,
Geert
Op donderdag 31 oktober 2024 00:11:25 CET schreef John Griessen via gnucash-
user:
> Here is the log from that failed check:
>
>
> 23/128 Testing: test-userdata-dir-invalid-home
> 23/128 Test: test-userdata-dir-invalid-home
> Command:
> "/usr/local/src/gnucash-5.9-build/bin/test-userdata-dir-invalid-home"
> Directory: /usr/local/src/gnucash-5.9-build/libgnucash/core-utils/test
> "test-userdata-dir-invalid-home" start time: Oct 30 16:53 MDT
> Output:
> ----------------------------------------------------------
> FAILURE gnc_build_x_path
> /usr/local/src/gnucash-5.9/libgnucash/core-utils/test/test-userdata-dir-inv
> alid-home.c:120 /home/john/gnucash/foo (gnc_build_userdata_path) vs
> /tmp/john/gnucash/foo FAILURE gnc_build_x_path
> /usr/local/src/gnucash-5.9/libgnucash/core-utils/test/test-userdata-dir-inv
> alid-home.c:120 /home/john/gnucash/books/foo (gnc_build_book_path) vs
> /tmp/john/gnucash/books/foo FAILURE gnc_build_x_path
> /usr/local/src/gnucash-5.9/libgnucash/core-utils/test/test-userdata-dir-inv
> alid-home.c:120 /home/john/gnucash/translog/foo (gnc_build_translog_path) vs
> /tmp/john/gnucash/translog/foo FAILURE gnc_build_x_path
> /usr/local/src/gnucash-5.9/libgnucash/core-utils/test/test-userdata-dir-inv
> alid-home.c:120 /home/john/gnucash/data/foo (gnc_build_data_path) vs
> /tmp/john/gnucash/data/foo Executed 4 tests. There were 4 failures.
>
>
> My dir /home/john/gnucash/books has old data in it. Not sure where the
> current files like this are... looked here:
>
> john at xxxxxxxx [gnucash-5.9-build]ls /usr/local/share/gnucash/
> accounts chartjs checks gtkbuilder icons pixmaps ui
>
> has no dir named books
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
More information about the gnucash-user
mailing list