mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Cmake export tests: Added development/mathmacros to the list
This commit is contained in:
parent
c08a5ade54
commit
76e0568697
@ -94,7 +94,7 @@ macro(maketestname testname reverted listreverted listignored listnonstandard)
|
||||
if (nsfound)
|
||||
set(${testname} "NON_STANDARD.${${testname}}")
|
||||
else ()
|
||||
string(REGEX MATCH "_(systemF|texF|pdf3|pdf2|pdf|dvi)$" _v ${${testname}})
|
||||
string(REGEX MATCH "_(systemF|texF|pdf3|pdf2|pdf|dvi|lyx16|xhtml)$" _v ${${testname}})
|
||||
# check if test _may_ be in listreverted
|
||||
if (_v)
|
||||
findexpr(mfound ${testname} ${listrevertedx})
|
||||
@ -165,8 +165,8 @@ macro(handlesuspended TestName reverted testlabel)
|
||||
setmarkedtestlabel(${TestName} ${myreverted} ${mylabel})
|
||||
endmacro()
|
||||
|
||||
# preparing to add e.g. development/mathmacro to the foreach() loop
|
||||
foreach(libsubfolderx lib/doc lib/examples lib/templates)
|
||||
# preparing to add e.g. development/mathmacros to the foreach() loop
|
||||
foreach(libsubfolderx lib/doc lib/examples lib/templates development/mathmacros)
|
||||
set(testlabel "export")
|
||||
if (libsubfolderx MATCHES "lib/doc")
|
||||
list(APPEND testlabel "manuals")
|
||||
@ -174,14 +174,15 @@ foreach(libsubfolderx lib/doc lib/examples lib/templates)
|
||||
list(APPEND testlabel "examples")
|
||||
elseif (libsubfolderx MATCHES "lib/templates")
|
||||
list(APPEND testlabel "templates")
|
||||
elseif (libsubfolderx MATCHES "development/mathmacro")
|
||||
elseif (libsubfolderx MATCHES "development/mathmacros")
|
||||
list(APPEND testlabel "mathmacros")
|
||||
elseif (libsubfolderx MATCHES "autotests/.+")
|
||||
list(APPEND testlabel "autotests")
|
||||
endif()
|
||||
set(LIBSUB_SRC_DIR "${TOP_SRC_DIR}/${libsubfolderx}")
|
||||
string(REGEX REPLACE "^(lib|development|autotests)/" "" libsubfolder "${libsubfolderx}")
|
||||
set(LIBSUB_SRC_DIR "${TOP_SRC_DIR}/lib/${libsubfolder}")
|
||||
set(LIBSUB_SRC_DIR "${TOP_SRC_DIR}/${libsubfolderx}")
|
||||
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)
|
||||
# Now create 2 lists. One for files in a language dir, one without
|
||||
|
@ -208,3 +208,7 @@ export/examples/(|fr/)seminar_pdf(2|[45]_systemF)
|
||||
#
|
||||
# GM: Korean? I don't expect this to work with Xe/Lua and TeXfonts.
|
||||
export/examples/ko/splash_(dvi3|pdf[45])_texF
|
||||
#
|
||||
# Following mathmacros tests fail
|
||||
export/mathmacros/testcases_master_child_.*
|
||||
export/mathmacros/testcases_speed_(dvi|pdf|pdf[23]|(dvi3|pdf[45])_(texF|systemF))
|
||||
|
Loading…
Reference in New Issue
Block a user