summaryrefslogtreecommitdiffstats
path: root/libcxxabi/test
diff options
context:
space:
mode:
authorJonathan Roelofs <jonathan@codesourcery.com>2015-02-26 15:55:01 +0000
committerJonathan Roelofs <jonathan@codesourcery.com>2015-02-26 15:55:01 +0000
commit0b57fc31470f44a50311c8f8236b7cf5b0bc7e30 (patch)
treec927f3571d8e7e7c561e4587350fc2b452ef4955 /libcxxabi/test
parent5e02c5f5b46bc9d14ef1f3a835cb0c91081e0e87 (diff)
downloadbcm5719-llvm-0b57fc31470f44a50311c8f8236b7cf5b0bc7e30.tar.gz
bcm5719-llvm-0b57fc31470f44a50311c8f8236b7cf5b0bc7e30.zip
Add remote testing support to the lit config
Now that the corresponding support in libcxx has landed (r230592), adding support here is pretty simple. llvm-svn: 230643
Diffstat (limited to 'libcxxabi/test')
-rw-r--r--libcxxabi/test/CMakeLists.txt4
-rw-r--r--libcxxabi/test/lit.site.cfg.in2
2 files changed, 6 insertions, 0 deletions
diff --git a/libcxxabi/test/CMakeLists.txt b/libcxxabi/test/CMakeLists.txt
index 8a713a62d05..103f559a924 100644
--- a/libcxxabi/test/CMakeLists.txt
+++ b/libcxxabi/test/CMakeLists.txt
@@ -10,6 +10,10 @@ pythonize_bool(LIBCXXABI_BUILD_32_BITS)
pythonize_bool(LIBCXXABI_ENABLE_SHARED)
pythonize_bool(LIBCXXABI_ENABLE_THREADS)
pythonize_bool(LIBCXXABI_USE_LLVM_UNWINDER)
+set(LIBCXXABI_TARGET_INFO "libcxx.test.target_info.LocalTI" CACHE STRING
+ "TargetInfo to use when setting up test environment.")
+set(LIBCXXABI_EXECUTOR "None" CACHE STRING
+ "Executor to use when running tests.")
set(AUTO_GEN_COMMENT "## Autogenerated by libcxxabi configuration.\n# Do not edit!")
configure_file(
diff --git a/libcxxabi/test/lit.site.cfg.in b/libcxxabi/test/lit.site.cfg.in
index 8f772fdd2b3..c033dbbf2cf 100644
--- a/libcxxabi/test/lit.site.cfg.in
+++ b/libcxxabi/test/lit.site.cfg.in
@@ -9,6 +9,8 @@ config.llvm_unwinder = "@LIBCXXABI_USE_LLVM_UNWINDER@"
config.enable_threads = "@LIBCXXABI_ENABLE_THREADS@"
config.use_sanitizer = "@LLVM_USE_SANITIZER@"
config.enable_32bit = "@LIBCXXABI_BUILD_32_BITS@"
+config.target_info = "@LIBCXXABI_TARGET_INFO@"
+config.executor = "@LIBCXXABI_EXECUTOR@"
# Let the main config do the real work.
lit_config.load_config(config, "@LIBCXXABI_SOURCE_DIR@/test/lit.cfg")
OpenPOWER on IntegriCloud