Cmake tests: Set also correct sequence of tests again.

This commit is contained in:
Kornel Benko 2014-09-03 12:35:40 +02:00
parent d97c34f4fe
commit 2df6340c1c

View File

@ -78,11 +78,12 @@ if(QT_USES_X11)
set(KEYTEST "${CMAKE_CURRENT_SOURCE_DIR}/keytest.py")
file(GLOB TESTST RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*-in.txt")
file(GLOB TESTSS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" "*-in.sh")
set(_firsttxt hello-world-in.txt first-time-in.txt)
set(_firsttxt first-time-in.txt hello-world-in.txt)
foreach(_f ${_firsttxt})
list(FIND TESTST ${_f} _ff)
if(NOT _ff GREATER -1)
set(_runtest FALSE)
break()
endif()
endforeach()
list(REMOVE_ITEM TESTST ${_firsttxt})