mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
13 lines
295 B
CMake
13 lines
295 B
CMake
|
|
function(EXPECT_TRUE output data reference)
|
|
if (NOT output)
|
|
message(SEND_ERROR "'${data}' not equal to '${reference}'")
|
|
endif()
|
|
endfunction()
|
|
|
|
function(EXPECT_FALSE output data reference)
|
|
if (output)
|
|
message(SEND_ERROR "'${data}' equal to '${reference}'")
|
|
endif()
|
|
endfunction()
|