summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeTests/FileUploadTest.cmake.in
diff options
context:
space:
mode:
authorLucy Phipps <landfillbaby@outlook.com>2019-01-24 15:32:19 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-25 14:14:51 (GMT)
commitb9e6d04558bdafab67aa392052d7136cdc4a7be2 (patch)
treeee1d7ee1650f9b1b1acd43f2268e5de171a7774a /Tests/CMakeTests/FileUploadTest.cmake.in
parent880e38059939f3259b42f4ed3cd9c6142d73437f (diff)
downloadCMake-b9e6d04558bdafab67aa392052d7136cdc4a7be2.zip
CMake-b9e6d04558bdafab67aa392052d7136cdc4a7be2.tar.gz
CMake-b9e6d04558bdafab67aa392052d7136cdc4a7be2.tar.bz2
Reduce size of PNG images
Use FileOptimizer 13.50.2431 (x86) and ZopfliPNG 1.0.2. Update expected file hashes in tests.
Diffstat (limited to 'Tests/CMakeTests/FileUploadTest.cmake.in')
-rw-r--r--Tests/CMakeTests/FileUploadTest.cmake.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CMakeTests/FileUploadTest.cmake.in b/Tests/CMakeTests/FileUploadTest.cmake.in
index 9e22909..0e6f080 100644
--- a/Tests/CMakeTests/FileUploadTest.cmake.in
+++ b/Tests/CMakeTests/FileUploadTest.cmake.in
@@ -35,7 +35,7 @@ execute_process(COMMAND ${CMAKE_COMMAND} -E md5sum
"@CMAKE_CURRENT_BINARY_DIR@/uploads/file1.png"
OUTPUT_VARIABLE sum1
OUTPUT_STRIP_TRAILING_WHITESPACE)
-if(NOT sum1 MATCHES "^d16778650db435bda3a8c3435c3ff5d1 .*/uploads/file1.png$")
+if(NOT sum1 MATCHES "^dbd330d52f4dbd60115d4191904ded92 .*/uploads/file1.png$")
message(FATAL_ERROR "file1.png did not upload correctly (sum1='${sum1}')")
endif()
@@ -43,7 +43,7 @@ execute_process(COMMAND ${CMAKE_COMMAND} -E md5sum
"@CMAKE_CURRENT_BINARY_DIR@/uploads/file2.png"
OUTPUT_VARIABLE sum2
OUTPUT_STRIP_TRAILING_WHITESPACE)
-if(NOT sum2 MATCHES "^d16778650db435bda3a8c3435c3ff5d1 .*/uploads/file2.png$")
+if(NOT sum2 MATCHES "^dbd330d52f4dbd60115d4191904ded92 .*/uploads/file2.png$")
message(FATAL_ERROR "file2.png did not upload correctly (sum2='${sum2}')")
endif()