File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,13 @@ set(TEST_SUITE_REMOTE_CLIENT "ssh" CACHE STRING "Remote execution client")
66
66
set (TEST_SUITE_REMOTE_HOST "" CACHE STRING "Remote execution host" )
67
67
mark_as_advanced (TEST_SUITE_REMOTE_CLIENT )
68
68
69
- add_custom_target (rsync
70
- COMMAND ${PROJECT_SOURCE_DIR} /utils/rsync.sh
71
- ${TEST_SUITE_REMOTE_HOST} ${PROJECT_BINARY_DIR}
72
- USES_TERMINAL
73
- )
69
+ if (TEST_SUITE_REMOTE_HOST )
70
+ add_custom_target (rsync
71
+ COMMAND ${PROJECT_SOURCE_DIR} /utils/rsync.sh
72
+ ${TEST_SUITE_REMOTE_HOST} ${PROJECT_BINARY_DIR}
73
+ USES_TERMINAL
74
+ )
75
+ endif ()
74
76
75
77
# Run Under configuration for RunSafely.sh (will be set in lit.site.cfg)
76
78
set (TEST_SUITE_RUN_UNDER "" CACHE STRING "RunSafely.sh run-under (-u) parameter" )
You can’t perform that action at this time.
0 commit comments