From 0b57fc31470f44a50311c8f8236b7cf5b0bc7e30 Mon Sep 17 00:00:00 2001 From: Jonathan Roelofs Date: Thu, 26 Feb 2015 15:55:01 +0000 Subject: [PATCH] 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 --- libcxxabi/test/CMakeLists.txt | 4 ++++ libcxxabi/test/lit.site.cfg.in | 2 ++ 2 files changed, 6 insertions(+) diff --git a/libcxxabi/test/CMakeLists.txt b/libcxxabi/test/CMakeLists.txt index 8a713a6..103f559 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 8f772fd..c033dbb 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") -- 2.7.4