I would like to run the indilib test harness locally but trying to run the indi/libindi/tests project in QT Creator gives me this error message:
CMake Error at CMakeLists.txt:3 (FIND_PACKAGE):
By not providing "FindGMock.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "GMock", but
CMake did not find one.
Could not find a package configuration file provided by "GMock" with any of
the following names:
Add the installation prefix of "GMock" to CMAKE_PREFIX_PATH or set
"GMock_DIR" to a directory containing one of the above files. If "GMock"
provides a separate development package or SDK, be sure it has been
The reason I want to do this is that I had a problem with the celestrongps driver tests which I had to fix by guessing.
Also we had a problem with the signed char to int conversion that only appeared with some compilers and only emerged when the user found it. It should be possible to run tests that detect this at the CI stage.
Are there any instructions around to help with setting this up?