mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
parent
788e2b1ac8
commit
e6f2598323
@ -25,18 +25,29 @@ foreach(_fl ${_tex_tests})
|
|||||||
set(fl ${_fl})
|
set(fl ${_fl})
|
||||||
add_test(NAME tex2lyx/roundtrip/${_fl}
|
add_test(NAME tex2lyx/roundtrip/${_fl}
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
COMMAND ${LYX_PYTHON_EXECUTABLE} "${TOP_SRC_DIR}/src/tex2lyx/test/runtests.py"
|
COMMAND ${CMAKE_COMMAND}
|
||||||
"$<TARGET_FILE:${_tex2lyx}>"
|
-DLYX_TESTS_USERDIR=${LYX_TESTS_USERDIR}
|
||||||
"${TOP_SRC_DIR}/lib/scripts"
|
-DLYX_USERDIR_VER=${LYX_USERDIR_VER}
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}"
|
-DLYX_PYTHON_EXECUTABLE=${LYX_PYTHON_EXECUTABLE}
|
||||||
${fl})
|
-DPY_SCRIPT=${TOP_SRC_DIR}/src/tex2lyx/test/runtests.py
|
||||||
|
-DTEX2LYX_EXE=$<TARGET_FILE:${_tex2lyx}>
|
||||||
|
-DSCRIPT_DIR=${TOP_SRC_DIR}/lib/scripts
|
||||||
|
-DWORKDIR=${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
-DTESTFILE=${fl}
|
||||||
|
-P ${TOP_SRC_DIR}/src/tex2lyx/test/runtests.cmake)
|
||||||
add_test(NAME tex2lyx/cmplyx/${_fl}
|
add_test(NAME tex2lyx/cmplyx/${_fl}
|
||||||
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
|
||||||
COMMAND ${LYX_PYTHON_EXECUTABLE} "${TOP_SRC_DIR}/src/tex2lyx/test/runtests.py" "uselyx2lyx"
|
COMMAND ${CMAKE_COMMAND}
|
||||||
"$<TARGET_FILE:${_tex2lyx}>"
|
-DLYX_TESTS_USERDIR=${LYX_TESTS_USERDIR}
|
||||||
"${TOP_SRC_DIR}/lib/scripts"
|
-DLYX_USERDIR_VER=${LYX_USERDIR_VER}
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}"
|
-DLYX_PYTHON_EXECUTABLE=${LYX_PYTHON_EXECUTABLE}
|
||||||
${fl})
|
-DPY_SCRIPT=${TOP_SRC_DIR}/src/tex2lyx/test/runtests.py
|
||||||
|
-DFIRST_PARAM=uselyx2lyx
|
||||||
|
-DTEX2LYX_EXE=$<TARGET_FILE:${_tex2lyx}>
|
||||||
|
-DSCRIPT_DIR=${TOP_SRC_DIR}/lib/scripts
|
||||||
|
-DWORKDIR=${CMAKE_CURRENT_BINARY_DIR}
|
||||||
|
-DTESTFILE=${fl}
|
||||||
|
-P ${TOP_SRC_DIR}/src/tex2lyx/test/runtests.cmake)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
add_dependencies(lyx_run_tests ${_tex2lyx} ${_lyx})
|
add_dependencies(lyx_run_tests ${_tex2lyx} ${_lyx})
|
||||||
|
Loading…
Reference in New Issue
Block a user