After I successfully compiled the code by ninja, tried to run the tests, but the output was this:
user@Macbook-MacBook-Air-4 mujoco_mpc % cd build
user@Macbook-MacBook-Air-4 build % ctest --output-on-failure .
Test project /Users/user/Projects/mujoco_mpc/build
No tests were found!!!
only cmake is unable to run them, they can be run separately:
user@Macbook-MacBook-Air-4 build % ./bin/zero_test
Running main() from /Users/user/Projects/mujoco_mpc/build/_deps/googletest-src/googletest/src/gtest_main.cc
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from GradientTest
[ RUN ] GradientTest.ZeroTest
[ OK ] GradientTest.ZeroTest (0 ms)
[----------] 1 test from GradientTest (0 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (0 ms total)
[ PASSED ] 1 test.
My setup was:
After I successfully compiled the code by ninja, tried to run the tests, but the output was this:
the tests are there
only cmake is unable to run them, they can be run separately: