Skip to content
Petr Penzin edited this page Mar 1, 2015 · 1 revision

This page details our use of Google Test. To ensure that it is built with the same flags as the project under test, we are building it from source.

Version

We were not successful with both release 1.7.0 (the latest at the moment) and the trunk. 1.7.0 had less issues to fix, so this project is a fork of 1.7.0 with some minor changes.

The hope is eventually we would not need our own fork of Google Test and code in this repository can be deprecated.

Usage

Checkout the code to the location pointed by ${WEBOS_INSTALL_ROOT}/${WITH_GTEST_SRC} CMake variables. By default it is /usr/local/webos/usr/src/gtest, but check where CMake is looking for it when you enable tests.

To enable tests and run tests, consult the particular project that you are working on.

Clone this wiki locally