blob: 791d2de632f68226a92c3af1b1853d3da0ea84e5 [file] [log] [blame]
Google publishes gmock and gtest from the official/external
Chromium repositories.
I found that these repositories are not linked, but that the
gmock source expects gtest to be checked out within. (The
Ceph developers maintain a pair of linked repositories where
this is already done, and do pullups from the external
The provided CMakeLists.txt files just work, but don't provide
an install target. I did an in-tree build in gmock and assumed
that the build tree would be dropped into some public location
(e.g., /opt/gmock).
git clone
git clone
I created a minimal example test driver with a single true
assertion for reference (src/gtest/
For more information on how to use Google Test, see: