# Strip extension
string(REGEX REPLACE "\\.lyx$" "" f ${f})
foreach(_lyx_format_num 16 20 21 22 23)
- set(TestName "export/${libsubfolder}/${f}_lyx${_lyx_format_num}")
+ set(TestName1 "export/${libsubfolder}/${f}_lyx${_lyx_format_num}")
+ string(REGEX REPLACE "[\\(\\)]" "_" TestName "${TestName1}")
set(mytestlabel ${testlabel} "lyx2lyx" "load")
maketestname(TestName inverted invertedTests ignoredTests unreliableTests mytestlabel)
if(TestName)
set(lyx2lyxtestlabel "lyx2lyx")
# For use of lyx2lyx we need the python executable
set(mytestlabel ${lyx2lyxtestlabel})
- set(TestName "lyx2lyx/${libsubfolder}/${f}")
+ set(TestName1 "lyx2lyx/${libsubfolder}/${f}")
+ string(REGEX REPLACE "[\\(\\)]" "_" TestName "${TestName1}")
maketestname(TestName inverted invertedTests ignoredTests unreliableTests mytestlabel)
if(TestName)
add_test(NAME ${TestName}
endif()
set(loadtestlabel "load")
set(mytestlabel ${loadtestlabel})
- set(TestName "check_load/${libsubfolder}/${f}")
+ set(TestName1 "check_load/${libsubfolder}/${f}")
+ string(REGEX REPLACE "[\\(\\)]" "_" TestName "${TestName1}")
maketestname(TestName inverted invertedTests ignoredTests unreliableTests mytestlabel)
if(TestName)
add_test(NAME ${TestName}
set(_enc "_${_enc2}")
endif()
if(fonttype MATCHES "defaultF")
- set(TestName "export/${libsubfolder}/${f}${_enc}_${format}")
+ set(TestName1 "export/${libsubfolder}/${f}${_enc}_${format}")
else()
- set(TestName "export/${libsubfolder}/${f}${_enc}_${format}_${fonttype}")
+ set(TestName1 "export/${libsubfolder}/${f}${_enc}_${format}_${fonttype}")
endif()
if (format MATCHES "^${default_output_format}$")
set(extraLabels "defaultoutput")
else()
set(mytestlabel ${testlabel} ${extraLabels})
endif()
+ string(REGEX REPLACE "[\\(\\)]" "_" TestName "${TestName1}")
maketestname(TestName inverted invertedTests ignoredTests unreliableTests mytestlabel)
if(TestName)
add_test(NAME ${TestName}
project(testExamples)
-foreach(_arg longsheet.gnumeric iecc05.fen beamer-icsi-logo.pdf)
- configure_file(${_arg} "${CMAKE_CURRENT_BINARY_DIR}/${_arg}" COPYONLY)
+foreach(_arg "External_Material/longsheet.gnumeric"
+ "Graphics_\&_Insets/iecc05.fen"
+ "Presentations/beamer-icsi-logo.pdf")
+ configure_file("${_arg}" "${CMAKE_CURRENT_BINARY_DIR}/${_arg}" COPYONLY)
endforeach(_arg)