Moving a discussion that started in GitHub.
I'm currently unable to build check in xcode with the following error:
Showing Recent Messages
Ld /Users/Shari/gnucash-stable/build_xcode/bin/test-gnc-path-util normal
x86_64
cd /Users/Shari/gnucash-stable/src/gnucash-git
export MACOSX_DEPLOYMEN
jralls suggested:
That's googletest. The Xcode generator must not be making the connection
between that output file and the gtest target. Does Xcode show a gtest
target, and if so does building it first get you further along building the
tests?
I'll check and post back.
Yes, there's a gtest
The RUN_TEST target runs the tests successfully except for 3:
Showing Recent Messages
The following tests FAILED:
10 - test-app-utils (Failed)
68 - test-load-c (Failed)
71 - test-agedver (Failed)
So with the kludge of copying *.a files to the right location, I'm able
> On Mar 22, 2020, at 2:48 PM, jean wrote:
>
> clang: error: no such file or directory:
> '/Users/Shari/gnucash-stable/build_xcode/common/test-core/libgtest.a'
> clang: error: no such file or directory:
> '/Users/Shari/gnucash-stable/build_xcode/common/test-core/libgtest.a'
>
> The missing
> On Mar 22, 2020, at 2:53 PM, jean wrote:
>
> The RUN_TEST target runs the tests successfully except for 3:
>
> Showing Recent Messages
> The following tests FAILED:
>10 - test-app-utils (Failed)
>68 - test-load-c (Failed)
>71 - test-agedver (Failed)
>
> So with the
I tried your suggestion, modified common/test-core/CMakeLists.txt (in
the src directory I assume). But I'm still getting the same issue trying
to build check.
Showing Recent Messages
Ld /Users/Shari/gnucash-stable/build_xcode/bin/test-gnc-rational normal
x86_64
cd /Users/Shari/gnucash-st