2022-04-07, 00:32
I have never run the test suite before. When I follow the instructions on the Linux build page it says:
Kodi has a test suite which uses the Google C++ Testing Framework. This framework is provided directly in Kodi's source tree.
Build and run Kodi's test suite:
make check
Build Kodi's test suite without running it:
make kodi-test
But none of those commands succeeded. I ran them from the top level directory like the rest of the build. I have successfully built and run the gtest for the component I was working on (StringUtils) . This required me to copy it over to it's own directory and massage it to not depend upon Kodi.
But now i need to run the tests with Kodi to test more of the code.
Kodi has a test suite which uses the Google C++ Testing Framework. This framework is provided directly in Kodi's source tree.
Build and run Kodi's test suite:
make check
Build Kodi's test suite without running it:
make kodi-test
But none of those commands succeeded. I ran them from the top level directory like the rest of the build. I have successfully built and run the gtest for the component I was working on (StringUtils) . This required me to copy it over to it's own directory and massage it to not depend upon Kodi.
But now i need to run the tests with Kodi to test more of the code.