Cmake export tests: Add labels 'lyx2lyx' and 'load' to tests exporting to a lyx format.

The test uses lyx2lyx and loads the exported file.
This commit is contained in:
Kornel Benko 2015-12-27 18:03:54 +01:00
parent 106d89f7e6
commit 91a8ae9050

View File

@ -305,7 +305,7 @@ foreach(libsubfolderx autotests/export lib/doc lib/examples lib/templates autote
string(REGEX REPLACE "\\.lyx$" "" f ${f}) string(REGEX REPLACE "\\.lyx$" "" f ${f})
foreach(_lyx_format_num 16 21) foreach(_lyx_format_num 16 21)
set(TestName "export/${libsubfolder}/${f}_lyx${_lyx_format_num}") set(TestName "export/${libsubfolder}/${f}_lyx${_lyx_format_num}")
set(mytestlabel ${testlabel}) set(mytestlabel ${testlabel} "lyx2lyx" "load")
maketestname(TestName inverted suspiciousTests ignoredTests unreliableTests mytestlabel) maketestname(TestName inverted suspiciousTests ignoredTests unreliableTests mytestlabel)
if(TestName) if(TestName)
add_test(NAME ${TestName} add_test(NAME ${TestName}