File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,10 +30,11 @@ if(DBG)
3030endif ()
3131
3232if (CMD)
33+ message (STATUS "testdriver:CMD=${CMD} " )
3334 string (REPLACE "^" ";" _cmd ${CMD} )
34- if (DBG)
35- message (STATUS "testdriver:CMD =${_cmd} " )
36- endif ()
35+ # if(DBG)
36+ message (STATUS "testdriver:_cmd =${_cmd} " )
37+ # endif()
3738endif ()
3839
3940if (COPY)
@@ -72,11 +73,17 @@ endif()
7273
7374#---Set environment --------------------------------------------------------------------------------
7475if (ENV)
76+ message (STATUS "testdriver:ENV=${ENV} " )
7577 string (REPLACE "#" ";" _env ${ENV} )
78+ message (STATUS "testdriver:_env=${_env} " )
7679 foreach (pair ${_env} )
80+ message (STATUS " pair : ${pair} " )
81+ #string(REPLACE ";" "\\\\;" pair "${pair}")
82+ #message(STATUS " pair : ${pair}")
7783 string (REGEX REPLACE "^([^=]+)=(.*)$" "\\ 1;\\ 2" pair ${pair} )
7884 list (GET pair 0 var)
7985 list (GET pair 1 val)
86+ message (STATUS " ${var} ${val} " )
8087 set (ENV{${var} } ${val} )
8188 if (DBG)
8289 message (STATUS "testdriver[ENV]:${var} ==>${val} " )
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ cmake_path(CONVERT "${root_includepaths}" TO_NATIVE_PATH_LIST root_includepaths_
2020
2121# Escape list separators for env usage so that they don't get wrongly
2222# serialized when building the command for the RootTestDriver
23- string (REPLACE ";" "\\\\ $<SEMICOLON >" pythonpaths_escaped "${pythonpaths_native} " )
24- string (REPLACE ";" "\\\\ $<SEMICOLON >" root_includepaths_escaped "${root_includepaths_native} " )
23+ string (REPLACE ";" "\\\\\\\\ $<SEMICOLON >" pythonpaths_escaped "${pythonpaths_native} " )
24+ string (REPLACE ";" "\\\\\\\\ $<SEMICOLON >" root_includepaths_escaped "${root_includepaths_native} " )
2525
2626# - Set the environment for the tutorials, which also contains some environment
2727# variables related to limiting the number of threads used by NumPy and
You can’t perform that action at this time.
0 commit comments