]> git.lyx.org Git - lyx.git/blobdiff - lib/lyx2lyx/CMakeLists.txt
Merge remote-tracking branch 'features/scroll-reloaded'
[lyx.git] / lib / lyx2lyx / CMakeLists.txt
index ed30a54d31083ca4dc6767b4d892ace3695eb669..43fb13a6db212479762aefacbf3a5037a5f640b0 100644 (file)
@@ -11,7 +11,13 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lyx2lyx_version.py DESTINATION ${LYX_D
 
 if (UNIX)
        set(_project "lyx2lyx")
-       include(../PyCompile)
+       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)