tests fail to build
I can't get the tests to build on either Debian or Arch.
errors out with
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMake Error at CMakeLists.txt:68 (qt_add_resources):
Unknown CMake command "qt_add_resources".
Fixing those problems then leads to 'make test' etc fails because gmock headers are in the wrong place.
Each time I fix a problem, it fails on something else.
Has anyone managed to build and run the tests?
jonas last edited by jonas
The correct way to build and run the tests is:
make strawberry_testsfrom the build directory after running cmake
make strawberry_teststo work, GoogleTest, GMock and Qt Test needs to be detected by CMake first.
Thanks. I've got it working now. I was missing libgmock-dev, so had no Makefile target for the tests.