test travis.

This commit is contained in:
Maxime Gimeno 2020-10-09 15:03:11 +02:00
parent 9a90628fa5
commit 3aa2f81ad9
1 changed files with 4 additions and 0 deletions

View File

@ -1080,18 +1080,22 @@ You must disable CGAL_ENABLE_CHECK_HEADERS.")
endif()
endforeach()
#compare the computed list of headers with the stored one to check for changes
list(SORT check_list_of_documented_headers)
list(REMOVE_DUPLICATES check_list_of_documented_headers)
foreach( hdr ${list_of_documented_headers})
if(NOT ${hdr} IN_LIST check_list_of_documented_headers)
message("${hdr} is not in check")
list(APPEND not_in_list "${hdr}")
endif()
endforeach()
foreach( hdr ${check_list_of_documented_headers})
if(NOT ${hdr} IN_LIST list_of_documented_headers)
message("${hdr} is not in list")
list(APPEND list_in_not "${hdr}")
endif()
endforeach()
if(not_in_list OR list_in_not)
message("Header files list do not match : ")
if(not_in_list)