CMake: change name of export autotests

Instead of 'autotests/export/doc/' export tests are prefixed
with 'export/doc/'. This has the advantage of the name better
reflecting the test (export tests are not autotests), but has a
disadvantage in that the old name gave a better idea of where the
export test scripts are located (in the autotests directory).
This commit is contained in:
Scott Kostyshak 2013-02-16 03:05:08 -05:00
parent 010dfb6a5a
commit 2fd0c34b9b
2 changed files with 8 additions and 8 deletions

View File

@ -68,7 +68,7 @@ foreach(libsubfolder doc)
foreach(f ${lyx_files})
# Strip extension
string(REGEX REPLACE "\\.lyx$" "" f ${f})
add_test(NAME export/autotests/${libsubfolder}/${f}_lyx16
add_test(NAME export/${libsubfolder}/${f}_lyx16
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${LYX_HOME}"
COMMAND ${CMAKE_COMMAND} -DLYX_ROOT=${LIBSUB_SRC_DIR}
-Dlyx=$<TARGET_FILE:${_lyx}>
@ -78,7 +78,7 @@ foreach(libsubfolder doc)
-P "${TOP_SRC_DIR}/development/autotests/export.cmake")
getdefaultoutputformat("${LIBSUB_SRC_DIR}/${f}.lyx" formatlist)
foreach(format "xhtml" ${formatlist})
add_test(NAME export/autotests/${libsubfolder}/${f}_${format}
add_test(NAME export/${libsubfolder}/${f}_${format}
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${LYX_HOME}"
COMMAND ${CMAKE_COMMAND} -DLYX_ROOT=${LIBSUB_SRC_DIR}
-Dlyx=$<TARGET_FILE:${_lyx}>

View File

@ -18,11 +18,11 @@ Test Notes
autotests/bug-7673 #7673
autotests/bug-8540 #8540
autotests/export/MergedManuals_pdf #8517
autotests/export/MergedManuals_pdf2 #8517
autotests/export/MergedManuals_pdf5 #8517
autotests/export/Math_pdf #8517
autotests/export/Math_pdf2 #8517
autotests/export/Math_pdf5 #8517
export/doc/MergedManuals_pdf #8517
export/doc/MergedManuals_pdf2 #8517
export/doc/MergedManuals_pdf5 #8517
export/doc/Math_pdf #8517
export/doc/Math_pdf2 #8517
export/doc/Math_pdf5 #8517
tex2lyx/roundtrip/CJKutf8.tex
tex2lyx2lyx/roundtrip/CJKutf8.tex