Impossible to extend the ctest suite with a new test
#34
-
|
I tried extending the test suite with an additional test following these instructions: https://github.com/microsoft/jbpf/blob/main/jbpf_tests/README.md. The new test that I've added is not compiled as part of the jbpf library build process when building the jbpf library in the Docker container. Also, what I notice is that, even though that the tests from the existing test suite are compiled (as seen in the build process output), the executables are not stored anywhere when the build finishes, so can I can manually execute the test cases (for examples the executables under NOTE that this is not happening when the jbpf library is built locally (not in Docker). When building it locally, the test suite can be extended and the executables for each tests are being stored under their corresponding directory. So questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Hi,
|
Beta Was this translation helpful? Give feedback.
First, make sure your new test is run locally. You can do this:
If your test is not shown, it is likely that your test is not included in CMakeLists.txt.