mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Cmake build: autotests: Remove "session"-file before starting tests
This commit is contained in:
parent
dae22baf0b
commit
e6e28f189a
@ -49,11 +49,14 @@ set(LYX_EXE "${BINDIR}/${LYX}")
|
||||
set(XVKBD_EXE "${BINDIR}/xvkbd")
|
||||
set(ENV{XVKBD_HACKED} "1")
|
||||
|
||||
if(EXISTS "${WORKDIR}/.lyx/session")
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} -E remove -f "${WORKDIR}/.lyx/session")
|
||||
endif()
|
||||
# Environments needed by keytest.py
|
||||
set(ENV{PACKAGE} ${PACKAGE})
|
||||
set(ENV{LOCALE_DIR} ${LOCALE_DIR})
|
||||
set(ENV{LYX_LOCALEDIR} "${WORKDIR}/../locale")
|
||||
set(ENV{LYX_USERDIR} ${WORKDIR})
|
||||
set(ENV{LYX_USERDIR} "${WORKDIR}/.lyx")
|
||||
set(ENV{LYX_PID} ${pidres})
|
||||
set(ENV{LYX_WINDOW_NAME} ${LYX_WINDOW_NAME})
|
||||
set(ENV{LYX_EXE} ${LYX_EXE})
|
||||
|
Loading…
Reference in New Issue
Block a user