]> git.lyx.org Git - features.git/commitdiff
Cmake tests: Set also correct sequence of tests again.
authorKornel Benko <kornel@lyx.org>
Wed, 3 Sep 2014 10:35:40 +0000 (12:35 +0200)
committerKornel Benko <kornel@lyx.org>
Wed, 3 Sep 2014 10:35:40 +0000 (12:35 +0200)
development/autotests/CMakeLists.txt

index 3dd4213842e8eb483bec7819285f74ad114b0bd3..0ad195f71cf96dcbbb3d0bfd1143188aec084dd9 100644 (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})