]> git.lyx.org Git - features.git/commitdiff
Cmake tests: Make check_load tests run in sequence.
authorKornel Benko <kornel@lyx.org>
Sat, 28 Mar 2015 21:54:08 +0000 (22:54 +0100)
committerKornel Benko <kornel@lyx.org>
Sat, 28 Mar 2015 21:54:08 +0000 (22:54 +0100)
Running parallel commands 'lyx -batch ...' with files from
the same directory has lead to conflicts.

development/autotests/ExportTests.cmake

index 3964642e965dca5812ee1f64c7344649f36ea467..cd8b45e21770b5eaac26c38e66c19c44499007fd 100644 (file)
@@ -201,6 +201,7 @@ foreach(libsubfolder doc examples templates)
         -DWORKDIR=${CMAKE_CURRENT_BINARY_DIR}/${LYX_HOME}
         -P "${TOP_SRC_DIR}/development/autotests/check_load.cmake")
       setmarkedtestlabel(${TestName} ${reverted} "load")
+      set_tests_properties(${TestName} PROPERTIES RUN_SERIAL ON)
     endif()
     getoutputformats("${LIBSUB_SRC_DIR}/${f}.lyx" formatlist)
     foreach(format ${formatlist})