CMake build system: Fix the "testclean" target

Regression caused by f9134384b7

This commit also makes the "testclean" target clean up the 4:1:1 test
images.  This was implemented in the autotools build system in
1f3635c496 but was left out of the CMake
build system due to an oversight.
This commit is contained in:
DRC
2016-11-15 08:37:04 -06:00
parent 4ad94b2963
commit 6aae007745
2 changed files with 7 additions and 2 deletions

View File

@@ -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)

View File

@@ -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")