]> git.lyx.org Git - features.git/commitdiff
Cmake export tests: Adapt exports to changed mathmacros path.
authorKornel Benko <kornel@lyx.org>
Fri, 18 Dec 2015 09:29:55 +0000 (10:29 +0100)
committerKornel Benko <kornel@lyx.org>
Fri, 18 Dec 2015 09:29:55 +0000 (10:29 +0100)
Missed in last commit.

development/autotests/ExportTests.cmake

index b959ecf636df4a5f42095bbcff1c1eb747524d40..a2c07a770b887b8d02234374edfc15493ec59425 100644 (file)
@@ -278,7 +278,7 @@ foreach(libsubfolderx autotests/export lib/doc lib/examples lib/templates autote
     list(APPEND testlabel "examples")
   elseif (libsubfolderx MATCHES "lib/templates")
     list(APPEND testlabel "templates")
-  elseif (libsubfolderx MATCHES "development/mathmacros")
+  elseif (libsubfolderx MATCHES "autotests/mathmacros")
     list(APPEND testlabel "mathmacros")
   elseif (libsubfolderx MATCHES "autotests/.+")
     list(APPEND testlabel "autotests")
@@ -289,10 +289,6 @@ foreach(libsubfolderx autotests/export lib/doc lib/examples lib/templates autote
   message(STATUS "Handling export dir ${LIBSUB_SRC_DIR}")
   file(GLOB_RECURSE lyx_files RELATIVE "${LIBSUB_SRC_DIR}" "${LIBSUB_SRC_DIR}/*.lyx")
   list(SORT lyx_files)
-  if (libsubfolderx MATCHES "development/mathmacros")
-    # This is a zipped file, removing from tests
-    list(REMOVE_ITEM lyx_files testcases_master_child.lyx)
-  endif()
   # Now create 2 lists. One for files in a language dir, one without
   set(lang_lyx_files)
   set(nolang_lyx_files)