You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
441 B
14 lines
441 B
foreach(f
|
|
"${RunCMake_TEST_BINARY_DIR}/relative-input-WARN.txt"
|
|
"${RunCMake_TEST_BINARY_DIR}/relative-output-WARN.txt"
|
|
)
|
|
if(EXISTS "${f}")
|
|
file(READ "${f}" content)
|
|
if(NOT content MATCHES "^relative-input-WARN[\r\n]*$")
|
|
string(APPEND RunCMake_TEST_FAILED "File\n ${f}\n" "does not have expected content.\n")
|
|
endif()
|
|
else()
|
|
string(APPEND RunCMake_TEST_FAILED "Missing\n ${f}\n")
|
|
endif()
|
|
endforeach()
|