diff options
author | Craig Scott <craig.scott@crascit.com> | 2019-12-23 10:34:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-01-15 15:03:35 (GMT) |
commit | b56d429324330a9eb8d3c1860333969140851dd7 (patch) | |
tree | a02454967b5e4b5fc6eb5aa092214bc6523b5f43 /Tests/CMakeTests/File-SHA224-Works.cmake | |
parent | 3bc73803b4e460410fff71e2c11e0aad116e8763 (diff) | |
download | CMake-b56d429324330a9eb8d3c1860333969140851dd7.zip CMake-b56d429324330a9eb8d3c1860333969140851dd7.tar.gz CMake-b56d429324330a9eb8d3c1860333969140851dd7.tar.bz2 |
Tests: Fix CMake.FileDownload test failures not reported
Because the PASS_REGULAR_EXPRESSION test property is set,
the exit code of the test is ignored, so we can't just rely on using
message(SEND_ERROR) or the command itself failing. We have to
add an explicit error message for all unexpected status codes
and check for such messages with a FAIL_REGULAR_EXPRESSION.
Diffstat (limited to 'Tests/CMakeTests/File-SHA224-Works.cmake')
0 files changed, 0 insertions, 0 deletions