blob: f30de528ce798c73b2da4193bcb2b50083efbfac [file] [edit]
set(log_file "${RunCMake_TEST_BINARY_DIR}/shell.log")
if(NOT EXISTS "${log_file}")
set(RunCMake_TEST_FAILED "The shell never ran: ${log_file} is missing")
return()
endif()
file(READ "${log_file}" log)
if(NOT log MATCHES "MakefileShell-marker")
set(RunCMake_TEST_FAILED "The shell did not run the marker rule. Log:\n${log}")
endif()