×

INDI Library v1.7.6 Released. (27 Feb 2019)

First release of 2019 comes with quite a few new drivers across the board along with significant performance improvements to INDI camera and live streaming performance. Many drivers received significant updates to improve performance & stability, while a few were re-written from scratch to be in line with INDI standards. Here are some of the highlights:

Can't run tests locally

  • Posts: 80
  • Thank you received: 33

Can't run tests locally was created by ChrisRowland

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:

GMockConfig.cmake
gmock-config.cmake

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
installed.

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?
Chris
2 weeks 17 hours ago #36380

Please Log in or Create an account to join the conversation.

  • Posts: 673
  • Karma: 13
  • Thank you received: 199

Replied by TallFurryMan on topic Re:Can't run tests locally

I think no one has been addressing this point for long. GMock was deprecated a few years ago and maintainers didn't follow up with googletest... Or so I believe.

-Eric
HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access
The following user(s) said Thank You: ChrisRowland
1 week 4 days ago #36575

Please Log in or Create an account to join the conversation.

Time to create page: 0.293 seconds