• Matthew Woehlke's avatar
    GoogleTest: Add timeout to discovery · 29731d89
    Matthew Woehlke authored and Brad King's avatar Brad King committed
    Add a TIMEOUT option to gtest_discover_tests. This provides a
    work-around in case a test goes out to lunch, rather than causing the
    build to simply hang. (Although this is still a problem with the user's
    project, hanging the build is not cool, especially in the case of
    automatically running CI builds. It is much preferred that the build
    should actively fail in this case, and it is trivially easy for us to
    implement that.)
GoogleTest.cmake 486 Bytes