-
Notifications
You must be signed in to change notification settings - Fork 55
BUILD_TESTING OFF Does not disable all tests. #143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello @Tetragramm In the OpenEB repository, the BUILD_TESTING option controls whether the test suite is compiled or not, but the tests themselves are not executed during compilation, regardless of whether BUILD_TESTING is set to ON or OFF. To actually run the tests, you need to manually execute the following command "ctest -C Release" as documented here: https://docs.prophesee.ai/stable/installation/linux_openeb.html#running-tests Could you provide more details about the issue you're encountering?
This will help us better understand and diagnose the problem. Thanks, |
OpenEB is integrated as a CMake subproject in my project. A combination of VSCode and CMake gathers up all the tests created (both mine and those from OpenEB) and places them into the list of unit tests, where they fail. Here is one of the places tests are being incorrectly generated:
Here is a place it is being done correctly: openeb/sdk/modules/base/cpp/CMakeLists.txt Lines 26 to 29 in b3160f0
|
Got it, thanks for the detailed feedback! |
Specifically, the python tests, such as
metavision-hal-python-bindings-test and pytests_core as two examples.
Should be a simple matter of adding the same if-condition to these tests, but there are at least 6, possibly more.
The text was updated successfully, but these errors were encountered: