CMake build system: Fix the "testclean" target
Regression caused byf9134384b7This commit also makes the "testclean" target clean up the 4:1:1 test images. This was implemented in the autotools build system in1f3635c496but was left out of the CMake build system due to an oversight.
This commit is contained in:
@@ -866,7 +866,7 @@ foreach(libtype ${TEST_LIBTYPES})
|
||||
|
||||
endforeach()
|
||||
|
||||
add_custom_target(testclean COMMAND ${MD5CMP} -P
|
||||
add_custom_target(testclean COMMAND ${CMAKE_COMMAND} -P
|
||||
${CMAKE_SOURCE_DIR}/cmakescripts/testclean.cmake)
|
||||
|
||||
|
||||
|
||||
@@ -24,7 +24,12 @@ file(GLOB FILES
|
||||
*_440_*.png
|
||||
*_440_*.ppm
|
||||
*_440_*.jpg
|
||||
*_440.yuv)
|
||||
*_440.yuv
|
||||
*_411_*.bmp
|
||||
*_411_*.png
|
||||
*_411_*.ppm
|
||||
*_411_*.jpg
|
||||
*_411.yuv)
|
||||
|
||||
if(NOT FILES STREQUAL "")
|
||||
message(STATUS "Removing test files")
|
||||
|
||||
Reference in New Issue
Block a user