Skip to content
  • Sylvain Joubert's avatar
    Remove CTestTestfile.cmake when BUILD_TESTING is OFF · ae4cfa8b
    Sylvain Joubert authored and Brad King's avatar Brad King committed
    When disabling BUILD_TESTING after a previous configure, the
    `CTestTestfile.cmake` was left unchanged.  As a result, ctest would see
    the tests while the user disabled testing.  Now when BUILD_TESTING is
    OFF any existing `CTestTestfile.cmake` is removed ensuring an empty test
    list.
    ae4cfa8b