summaryrefslogtreecommitdiffstats
path: root/debuginfo-tests
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-05-29 21:45:43 +0000
committerReid Kleckner <rnk@google.com>2019-05-29 21:45:43 +0000
commitb9b64468caca25922d84d4520d4cc9b709a05af2 (patch)
tree5a939afbb5739213d3c2d33894b7cc9878443865 /debuginfo-tests
parent325003be02bff4291afb7c635cb0e75d7b3d1ba2 (diff)
downloadbcm5719-llvm-b9b64468caca25922d84d4520d4cc9b709a05af2.tar.gz
bcm5719-llvm-b9b64468caca25922d84d4520d4cc9b709a05af2.zip
Move the pybool logic from CMake to Python for simplicity
This is how similar booleans are handled, and seems to work for me locally. llvm-svn: 362039
Diffstat (limited to 'debuginfo-tests')
-rw-r--r--debuginfo-tests/CMakeLists.txt3
-rw-r--r--debuginfo-tests/lit.site.cfg.py.in2
2 files changed, 1 insertions, 4 deletions
diff --git a/debuginfo-tests/CMakeLists.txt b/debuginfo-tests/CMakeLists.txt
index db35d5d5960..fbab61c527d 100644
--- a/debuginfo-tests/CMakeLists.txt
+++ b/debuginfo-tests/CMakeLists.txt
@@ -13,9 +13,6 @@ set(DEBUGINFO_TEST_DEPS
not
)
-# Indicate if this is an MSVC environment.
-pythonize_bool(MSVC)
-
configure_lit_site_cfg(
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py
diff --git a/debuginfo-tests/lit.site.cfg.py.in b/debuginfo-tests/lit.site.cfg.py.in
index 491f4546c1d..e9819385077 100644
--- a/debuginfo-tests/lit.site.cfg.py.in
+++ b/debuginfo-tests/lit.site.cfg.py.in
@@ -17,7 +17,7 @@ config.has_lld = lit.util.pythonize_bool("@DEBUGINFO_TESTS_HAS_LLD@")
config.host_triple = "@LLVM_HOST_TRIPLE@"
config.target_triple = "@TARGET_TRIPLE@"
config.host_arch = "@HOST_ARCH@"
-config.is_msvc = @MSVC_PYBOOL@
+config.is_msvc = lit.util.pythonize_bool("@MSVC@")
config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@"
OpenPOWER on IntegriCloud