After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 785492 - googletest configure check outdated
googletest configure check outdated
Status: RESOLVED NOTABUG
Product: GnuCash
Classification: Other
Component: Build system
git-master
Other All
: Normal major
: ---
Assigned To: gnucash-core-maint
gnucash-core-maint
Depends on:
Blocks:
 
 
Reported: 2017-07-27 11:42 UTC by Thomas Klausner
Modified: 2018-06-29 23:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thomas Klausner 2017-07-27 11:42:49 UTC
The configure script looks for gtest (googletest) and gmock using gtest-root and gmock-root.

Neither of these is supplied by the current release of the combined sources by upstream, see https://github.com/google/googletest

Please adapt the checks so they work against the latest version (at the time of writing, 1.8.0 from 2016).
Comment 1 John Ralls 2017-07-27 13:58:29 UTC
Since Googletest doesn't export anything that can be used for package detection your request isn't possible.

The configure and cmake tests in GnuCash are designed to find google test in the usual places used by the major Linux distributions. GMOCK_ROOT and GTEST_ROOT are fallback environment variables that one may set to account for cases where Googletest sources are installed somewhere else.
Comment 2 John Ralls 2018-06-29 23:58:16 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=785492. Please update any external references or bookmarks.