summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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