Cmake tests: Added parser_tools test to the lyx2lyx group tests

This commit is contained in:
Kornel Benko 2014-06-12 09:07:57 +02:00
parent 207cd7a1b7
commit 1b3e4c73f8
2 changed files with 7 additions and 1 deletions

View File

@ -229,7 +229,7 @@ foreach(libsubfolder doc examples templates)
"-DLYX_TESTS_USERDIR=${LYX_TESTS_USERDIR}"
"-DLYXFILE=${LIBSUB_SRC_DIR}/${f}.lyx"
-P "${TOP_SRC_DIR}/development/autotests/lyx2lyxtest.cmake")
setmarkedtestlabel(${TestName} ${reverted} "export")
setmarkedtestlabel(${TestName} ${reverted} "lyx2lyx")
endif()
endif()
set(TestName "check_load/${libsubfolder}/${f}")

View File

@ -14,4 +14,10 @@ if (UNIX)
# include(../PyCompile)
endif()
set(_testname "lyx2lyx/parser_tools")
add_test(NAME ${_testname}
COMMAND ${LYX_PYTHON_EXECUTABLE} "${TOP_SRC_DIR}/lib/lyx2lyx/test_parser_tools.py"
)
settestlabel(${_testname} "lyx2lyx")
install(PROGRAMS ${TOP_SRC_DIR}/lib/lyx2lyx/lyx2lyx DESTINATION ${LYX_DATA_SUBDIR}lyx2lyx)