I've figured out what's going wrong with the three gncmodule tests but I don't
know what to do about it. Those tests depend on some test modules and their
fake implementation libraries that are built in
libgnucash/gnc-module/test/(foo|bar|baz|misc-mods). The CMakeLists.txt in those
directories
I pushed to maint and haven't yet merged up.
Regards,
John Ralls
> On Mar 23, 2020, at 9:33 PM, jean wrote:
>
> Did you push to master? Or does this live outside of git? I don't see any
> change.
>
> On 3/23/20 6:02 PM, John Ralls wrote:
>> For that solution it should have been CMAKE_CURRENT_
Did you push to master? Or does this live outside of git? I don't see
any change.
On 3/23/20 6:02 PM, John Ralls wrote:
For that solution it should have been CMAKE_CURRENT_BINARY_DIR instead of
CMAKE_BINARY_DIR, but I decided instead to add a generator statement so that it
would put libgtest.
For that solution it should have been CMAKE_CURRENT_BINARY_DIR instead of
CMAKE_BINARY_DIR, but I decided instead to add a generator statement so that it
would put libgtest.a and libgmock.a where Xcode expects them. I also added
CONFIGURATIONS statements to the add_test specs so that all of the
Yes, I wiped everything out, changed common/test-core/CMakeLists.txt and
reran the cmake command that creates the xcode project. LMK if I can
provide more testing. I'm definitely not familiar with cmake (only
started using it at work in the past couple months).
J.
On 3/23/20 9:34 AM, John Rall
Jean,
At this point the build messages from libgtest.a are more interesting because
that's what we're trying to coerce Xcode into putting somewhere different.
I trust that you started fresh from an empty build dir after changing
common/test-core/CMakeLists.txt.
Regards,
John Ralls
> On Mar 22
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
> 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
> 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
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
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
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
12 matches
Mail list logo