mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
ctest export: smal improvements
1.) Use of regex to ignore group of tests 2.) If default output format is pdf2(pdflatex), the try to check also for xelatex and lualatex
This commit is contained in:
parent
1a9bcaee26
commit
59f4d0d753
@ -114,6 +114,8 @@ macro(getoutputformats filepath varname)
|
||||
if(_l MATCHES "^\\\\default_output_format +\([^ ]+\)")
|
||||
if(CMAKE_MATCH_1 STREQUAL "default")
|
||||
set(found ${out_formats})
|
||||
elseif(CMAKE_MATCH_1 STREQUAL "pdf2")
|
||||
set(found "pdf2" "pdf4" "pdf5")
|
||||
elseif(CMAKE_MATCH_1 STREQUAL "xhtml")
|
||||
set(found "xhtml")
|
||||
else()
|
||||
@ -126,7 +128,15 @@ macro(getoutputformats filepath varname)
|
||||
endmacro()
|
||||
|
||||
macro(maketestname testname reverted listreverted listignored)
|
||||
list(FIND ${listignored} ${${testname}} _idx)
|
||||
set(_idx -1)
|
||||
foreach(_itrx ${${listignored}})
|
||||
set(_itr "^${_itrx}$")
|
||||
if(${testname} MATCHES ${_itr})
|
||||
set(_idx 0)
|
||||
break()
|
||||
endif()
|
||||
endforeach()
|
||||
#list(FIND ${listignored} ${${testname}} _idx)
|
||||
if (${_idx} LESS 0)
|
||||
list(FIND ${listreverted} ${${testname}} _idx)
|
||||
if (${_idx} LESS 0)
|
||||
|
@ -1,17 +1,11 @@
|
||||
# Entries may be regular expressions
|
||||
# they will be automatically enclosed with '^' and '$'
|
||||
#
|
||||
# latex8.sty is obsolete and replaced by IEEEconf.
|
||||
check_load/templates/attic/latex8
|
||||
export/templates/attic/latex8_pdf
|
||||
export/templates/attic/latex8_pdf2
|
||||
export/templates/attic/latex8_pdf5_systemF
|
||||
export/templates/attic/latex8_pdf5_texF
|
||||
export/templates/attic/latex8_dvi
|
||||
export/templates/attic/latex8_dvi3_systemF
|
||||
export/templates/attic/latex8_dvi3_texF
|
||||
export/templates/attic/latex8_pdf3
|
||||
export/templates/attic/latex8_pdf4_systemF
|
||||
export/templates/attic/latex8_pdf4_texF
|
||||
export/templates/attic/latex8_pdf.*
|
||||
# LuaTeX and XeTeX both enter in infinite loops
|
||||
export/examples/JASA_dvi3_systemF
|
||||
export/examples/JASA_pdf4_systemF
|
||||
export/examples/JASA_pdf5_systemF
|
||||
export/examples/JASA_.*_systemF
|
||||
#
|
||||
# not compilable with LuaTeX
|
||||
export/doc/hu/Tutorial_pdf5_.*
|
||||
|
Loading…
Reference in New Issue
Block a user