mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-25 01:28:50 -05:00
4d1883df11
To complete issue #23498
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()
|