[CMake] Use 'ssh.py' executor to run the remote library tests.
authorVladimir Vereschaka <vvereschaka@accesssoftek.com>
Fri, 12 Jun 2020 18:16:02 +0000 (11:16 -0700)
committerVladimir Vereschaka <vvereschaka@accesssoftek.com>
Fri, 12 Jun 2020 19:31:59 +0000 (12:31 -0700)
In order to support the libcxx new format changes SSHExecutor was
replaced with ssh.py script in the following way:

LIBxxx_EXECUTOR="<llvm-root>/libcxx/utils/ssh.py --host <username>@<host>"

See 96e6cbbf941d0f937b7e823433d4c222967a1817 commit for details.

clang/cmake/caches/CrossWinToARMLinux.cmake

index 3d1e961..41ddb83 100644 (file)
@@ -102,7 +102,7 @@ set(RUNTIMES_CMAKE_ARGS                     "-DCMAKE_SYSTEM_NAME=Linux;-DCMAKE_A
 
 # Remote test configuration.
 if(DEFINED REMOTE_TEST_HOST)
-  set(DEFAULT_TEST_EXECUTOR                 "SSHExecutor('${REMOTE_TEST_HOST}', '${REMOTE_TEST_USER}')")
+  set(DEFAULT_TEST_EXECUTOR                 "${LLVM_PROJECT_DIR}/libcxx/utils/ssh.py --host='${REMOTE_TEST_USER}@${REMOTE_TEST_HOST}'")
   set(DEFAULT_TEST_TARGET_INFO              "libcxx.test.target_info.LinuxRemoteTI")
 
   # Allow override with the custom values.