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
384 B
14 lines
384 B
2 years ago
|
include(${CMAKE_CURRENT_LIST_DIR}/mtime-tests.cmake)
|
||
|
|
||
|
set(DECOMPRESSION_OPTIONS --touch)
|
||
|
|
||
|
include(${CMAKE_CURRENT_LIST_DIR}/roundtrip.cmake)
|
||
|
|
||
|
foreach(file ${CHECK_FILES})
|
||
|
file(TIMESTAMP ${FULL_DECOMPRESS_DIR}/${COMPRESS_DIR}/${file} MTIME UTC)
|
||
|
if(MTIME STREQUAL ARCHIVE_MTIME_RFC3339)
|
||
|
message(FATAL_ERROR
|
||
|
"File has unexpected timestamp ${MTIME}")
|
||
|
endif()
|
||
|
endforeach()
|