Make run-tests --unittests work on Windows too (#3026)
Changes: * Bash based unittest runner replaced with a python runner * Typo fixed in doctest cmake build system (python executable) * run-tests.py prints error message if build fails JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu
This commit is contained in:
committed by
Robert Fancsik
parent
2f1908f894
commit
3ba6adcc71
@@ -28,7 +28,7 @@ endif()
|
||||
# file names that will be generated. This allows the definition of proper
|
||||
# dependencies between the MarkDown files and the generated sources.
|
||||
execute_process(
|
||||
COMMAND ${Python_EXECUTABLE} ${GEN_DOCTEST} --dry -d ${CMAKE_CURRENT_BINARY_DIR} ${DOC_FILES}
|
||||
COMMAND ${PYTHON_EXECUTABLE} ${GEN_DOCTEST} --dry -d ${CMAKE_CURRENT_BINARY_DIR} ${DOC_FILES}
|
||||
OUTPUT_VARIABLE DOCTEST_OUTPUT
|
||||
RESULT_VARIABLE GEN_DOCTEST_RESULT
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user