commit 0a4bb51a26ede588d5b29da8f71ba72bb74ae76c
Author: Scott Kostyshak <[email protected]>
Date: Wed Nov 27 07:57:10 2013 -0500
ctests: add dviluatex as a format that needs fonts
Documents in certain languages will only work with dviluatex
if fonts that support those languages are used.
This commit continues e690cfc4.
diff --git a/development/autotests/CMakeLists.txt
b/development/autotests/CMakeLists.txt
index f27b1f9..43e1a63 100644
--- a/development/autotests/CMakeLists.txt
+++ b/development/autotests/CMakeLists.txt
@@ -107,7 +107,7 @@ macro(getoutputformats filepath varname)
file(STRINGS "${filepath}" lines)
set(out_formats "xhtml" "dvi" "dvi3" "pdf" "pdf2" "pdf3" "pdf4" "pdf5")
if(NOT PERL_FOUND)
- list(REMOVE_ITEM out_formats "pdf4" "pdf5")
+ list(REMOVE_ITEM out_formats "dvi3" "pdf4" "pdf5")
endif()
set(${varname} ${out_formats})
foreach(_l ${lines})
diff --git a/development/autotests/export.cmake
b/development/autotests/export.cmake
index 80ceed9..90d1a66 100755
--- a/development/autotests/export.cmake
+++ b/development/autotests/export.cmake
@@ -27,7 +27,7 @@
#
set(Perl_Script "${TOP_SRC_DIR}/development/autotests/useSystemFonts.pl")
-if(format MATCHES "pdf4|pdf5")
+if(format MATCHES "dvi3|pdf4|pdf5")
message(STATUS "LYX_TESTS_USERDIR = ${LYX_TESTS_USERDIR}")
message(STATUS "Converting with perl ${Perl_Script}")
set(LYX_SOURCE "${WORKDIR}/${file}_${format}.lyx")