Skip to content

Help:test prop WILL_FAIL clarify and example

scivision requested to merge scivision/cmake:doct into master

This makes the WILL_FAIL behavior explicit. Users could be confused because some other build systems treat equivalent test properties as allowing a failure, but still pass on a passing test, and may catch SIGABRT unlike CMake.

Example: C++ uncaught exception is fine on Linux with CTest WILL_FAIL, but macOS makes SIGABRT that makes CTest test fail even with WILL_FAIL.

Refs:

Edited by scivision

Merge request reports