commit 004a55614b217c55191cba907357e2612774370b
Author: Kornel Benko <[email protected]>
Date: Wed Sep 30 13:52:07 2026 +0200
Adapt keytest test to use found python executable
---
development/autotests/single-test.cmake | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/development/autotests/single-test.cmake
b/development/autotests/single-test.cmake
index 871bf11540..7e97f524e5 100755
--- a/development/autotests/single-test.cmake
+++ b/development/autotests/single-test.cmake
@@ -24,6 +24,7 @@
# -DPO_BUILD_DIR=xxx \
# -DPACKAGE=xxx \
# -DFRONTEND=Qt? \
+# -DPYTHON=${LYX_PYTHON_EXECUTABLE} \
# -P ${AUTOTEST_ROOT}/single-test.cmake
set(KEYTEST "${AUTOTEST_ROOT}/keytest.py")
@@ -101,7 +102,7 @@ if(EXISTS "${AUTOTEST_ROOT}/${_jj}.lyx")
endif()
execute_process(
- COMMAND python ${KEYTEST}
+ COMMAND ${PYTHON} ${KEYTEST}
RESULT_VARIABLE KEYTEST_RES)
if(KEYTEST_RES)
message(FATAL_ERROR "KEYTEST failed: KEYTEST_RES=${KEYTEST_RES}")
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs