Closed guillaumetousignant closed 3 years ago
Maybe ctest doesn't init cuda or mpi correctly? Maybe it doesn't init test_main correctly?
add_test(NAME MyAwesomeTest COMMAND my_test) apparently can run the whole thing, but not individual tests.
add_test(NAME MyAwesomeTest COMMAND my_test)
Ok turns out if you break the GPU context enough, such as accessing a lot of random memory, all tests passchen running ctest for some reason.
Maybe ctest doesn't init cuda or mpi correctly? Maybe it doesn't init test_main correctly?
add_test(NAME MyAwesomeTest COMMAND my_test)
apparently can run the whole thing, but not individual tests.