mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +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)
|
if (nsfound)
|
||||||
set(${testname} "NON_STANDARD.${${testname}}")
|
set(${testname} "NON_STANDARD.${${testname}}")
|
||||||
else ()
|
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
|
# check if test _may_ be in listreverted
|
||||||
if (_v)
|
if (_v)
|
||||||
findexpr(mfound ${testname} ${listrevertedx})
|
findexpr(mfound ${testname} ${listrevertedx})
|
||||||
@ -165,8 +165,8 @@ macro(handlesuspended TestName reverted testlabel)
|
|||||||
setmarkedtestlabel(${TestName} ${myreverted} ${mylabel})
|
setmarkedtestlabel(${TestName} ${myreverted} ${mylabel})
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
# preparing to add e.g. development/mathmacro to the foreach() loop
|
# preparing to add e.g. development/mathmacros to the foreach() loop
|
||||||
foreach(libsubfolderx lib/doc lib/examples lib/templates)
|
foreach(libsubfolderx lib/doc lib/examples lib/templates development/mathmacros)
|
||||||
set(testlabel "export")
|
set(testlabel "export")
|
||||||
if (libsubfolderx MATCHES "lib/doc")
|
if (libsubfolderx MATCHES "lib/doc")
|
||||||
list(APPEND testlabel "manuals")
|
list(APPEND testlabel "manuals")
|
||||||
@ -174,14 +174,15 @@ foreach(libsubfolderx lib/doc lib/examples lib/templates)
|
|||||||
list(APPEND testlabel "examples")
|
list(APPEND testlabel "examples")
|
||||||
elseif (libsubfolderx MATCHES "lib/templates")
|
elseif (libsubfolderx MATCHES "lib/templates")
|
||||||
list(APPEND testlabel "templates")
|
list(APPEND testlabel "templates")
|
||||||
elseif (libsubfolderx MATCHES "development/mathmacro")
|
elseif (libsubfolderx MATCHES "development/mathmacros")
|
||||||
list(APPEND testlabel "mathmacros")
|
list(APPEND testlabel "mathmacros")
|
||||||
elseif (libsubfolderx MATCHES "autotests/.+")
|
elseif (libsubfolderx MATCHES "autotests/.+")
|
||||||
list(APPEND testlabel "autotests")
|
list(APPEND testlabel "autotests")
|
||||||
endif()
|
endif()
|
||||||
set(LIBSUB_SRC_DIR "${TOP_SRC_DIR}/${libsubfolderx}")
|
set(LIBSUB_SRC_DIR "${TOP_SRC_DIR}/${libsubfolderx}")
|
||||||
string(REGEX REPLACE "^(lib|development|autotests)/" "" libsubfolder "${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")
|
file(GLOB_RECURSE lyx_files RELATIVE "${LIBSUB_SRC_DIR}" "${LIBSUB_SRC_DIR}/*.lyx")
|
||||||
list(SORT lyx_files)
|
list(SORT lyx_files)
|
||||||
# Now create 2 lists. One for files in a language dir, one without
|
# 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.
|
# GM: Korean? I don't expect this to work with Xe/Lua and TeXfonts.
|
||||||
export/examples/ko/splash_(dvi3|pdf[45])_texF
|
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