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.
36 lines
809 B
36 lines
809 B
if(EXISTS ${RunCMake_TEST_BINARY_DIR}/check-debug.cmake)
|
|
include(${RunCMake_TEST_BINARY_DIR}/check-debug.cmake)
|
|
if(RunCMake_TEST_FAILED)
|
|
return()
|
|
endif()
|
|
|
|
foreach(file
|
|
"${foo_lib}"
|
|
"${subinc_lib}"
|
|
"${main_exe}"
|
|
)
|
|
if(EXISTS "${file}")
|
|
# Remove for next step of test.
|
|
file(REMOVE "${file}")
|
|
else()
|
|
set(RunCMake_TEST_FAILED
|
|
"Artifact should exist but is missing:\n ${file}")
|
|
return()
|
|
endif()
|
|
endforeach()
|
|
foreach(file
|
|
"${zot_lib}"
|
|
"${bar_lib}"
|
|
)
|
|
if(EXISTS "${file}")
|
|
set(RunCMake_TEST_FAILED
|
|
"Artifact should be missing but exists:\n ${file}")
|
|
return()
|
|
endif()
|
|
endforeach()
|
|
else()
|
|
set(RunCMake_TEST_FAILED "
|
|
'${RunCMake_TEST_BINARY_DIR}/check-debug.cmake' missing
|
|
")
|
|
endif()
|