File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -399,7 +399,7 @@ if(OPTION_BUILD_LOADERS AND OPTION_BUILD_LOADERS_TS AND OPTION_BUILD_SCRIPTS AND
399399
400400 if (OPTION_BUILD_LOADERS_PY)
401401 add_test (NAME ${target} -py-tsx
402- COMMAND ${TEST_COMMAND} "echo 'load py cli-test-tsx.py\n exit' | $<TARGET_FILE:${target} > | ${GREP_COMMAND} \" Hello metaprogrammer \" "
402+ COMMAND ${TEST_COMMAND} "echo 'load py cli-test-tsx.py\n exit' | $<TARGET_FILE:${target} > | ${GREP_COMMAND} \" Hello World \" "
403403 WORKING_DIRECTORY ${LOADER_SCRIPT_PATH} /templating
404404 )
405405 set_property (TEST ${target} -py-tsx
@@ -409,6 +409,9 @@ if(OPTION_BUILD_LOADERS AND OPTION_BUILD_LOADERS_TS AND OPTION_BUILD_SCRIPTS AND
409409 ""
410410 ${TESTS_ENVIRONMENT_VARIABLES}
411411 PROJECT_METACALL_PORTS_DIRECTORY=${CMAKE_SOURCE_DIR} /source /ports/py_port
412+ # Note: Here we have to set up the LOADER_SCRIPT_PATH to the CWD as a difference to ${target}-tsx-templating test
413+ # which does not require this apparently (due to NodeJS resolve system), probably this has to be reviewed
414+ LOADER_SCRIPT_PATH=${LOADER_SCRIPT_PATH} /templating
412415 )
413416 endif ()
414417endif ()
You can’t perform that action at this time.
0 commit comments