aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/MetadataLoader.cpp
diff options
context:
space:
mode:
authorAlexander Richardson <alexrichardson@google.com>2023-09-26 07:19:31 -0700
committerGitHub <noreply@github.com>2023-09-26 15:19:31 +0100
commit78d649a417b48cb8a2ba2e755f0e7c8fb8b1bb83 (patch)
treed6f1dcb8d480c62c5d772f43b384014944dcbc94 /llvm/lib/Bitcode/Reader/MetadataLoader.cpp
parentb29b6ccc4e5abb301a8bab037069f0a9b097b247 (diff)
downloadllvm-78d649a417b48cb8a2ba2e755f0e7c8fb8b1bb83.zip
llvm-78d649a417b48cb8a2ba2e755f0e7c8fb8b1bb83.tar.gz
llvm-78d649a417b48cb8a2ba2e755f0e7c8fb8b1bb83.tar.bz2
[libc++][lit] Allow overriding the executor for tests (#66545)
This is useful when trying to run multiple tests with different arguments to the executor script. This is needed in my case since I do not know the correct ssh connection arguments when building libc++. The testing script I have spawns multiple QEMU instances that listen on a given port on localhost and runs lit with the --num-shards/--run-shard argument. In order to connect each shard to the right QEMU instances I need to customize the arguments passed to ssh.py (--extra-ssh-args and --extra-scp-args) but can't do this at configure time since the target port is only known when running the tests but not when calling CMake. This change allows me to pass `executor=ssh.py <args>` to lit once I know the right hostname/port for running the tests. This also deprecates the `LIB{CXX,CXXABI,UNWIND}_EXECUTOR` CMake variable as the same can be achieved by adding `executor=...` to the `LIB{CXX,CXXABI,UNWIND}_TEST_PARAMS` variable.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions