blob: 62e68c74b9431dda6ffe3c6b9777724984844fd9 [file]
include("${VARS_FILE}")
list(LENGTH ACTUAL al)
list(LENGTH EXPECTED el)
if(NOT al EQUAL el)
message(FATAL_ERROR "Got the wrong number of objects")
endif()
foreach(a e IN ZIP_LISTS ACTUAL EXPECTED)
if(NOT a MATCHES "${e}")
message(SEND_ERROR "Object \"${a}\" does not match expected regex \"${e}\"")
endif()
endforeach()