Skip to content

Commit 5966926

Browse files
committed
check
1 parent 426a439 commit 5966926

2 files changed

Lines changed: 12 additions & 5 deletions

File tree

cmake/modules/RootTestDriver.cmake

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ if(DBG)
3030
endif()
3131

3232
if(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()
3738
endif()
3839

3940
if(COPY)
@@ -72,11 +73,17 @@ endif()
7273

7374
#---Set environment --------------------------------------------------------------------------------
7475
if(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}")

tutorials/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)