aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/configuration.py
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-10-10 17:27:09 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-10-10 17:27:09 +0000
commit27c23653aec79e447193281f2f29da15d8bb1bf9 (patch)
treec019c448c0e39f2303e1d0a50130afd63eab0c9c /lldb/packages/Python/lldbsuite/test/configuration.py
parent2d2cf936ac6c80fdc851fbd489c192e9bd8c4e9a (diff)
downloadllvm-27c23653aec79e447193281f2f29da15d8bb1bf9.zip
llvm-27c23653aec79e447193281f2f29da15d8bb1bf9.tar.gz
llvm-27c23653aec79e447193281f2f29da15d8bb1bf9.tar.bz2
[test] Use a different module cache for Shell and API tests.
Before the test reorganization, everything was part of a single test suite with a single module cache. Now that things are properly separated this is no longer the case. Only the shell tests inherited the logic to properly configure and wipe the module caches. This patch adds that logic back for the API tests. While doing so, I noticed that we were configuring a Clang module cache in CMake, but weren't actually using it from dotest.py. I included a fix for that in this patch as well. Differential revision: https://reviews.llvm.org/D68755 llvm-svn: 374386
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
-rw-r--r--lldb/packages/Python/lldbsuite/test/configuration.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/configuration.py b/lldb/packages/Python/lldbsuite/test/configuration.py
index 8bd17fe..494af7e 100644
--- a/lldb/packages/Python/lldbsuite/test/configuration.py
+++ b/lldb/packages/Python/lldbsuite/test/configuration.py
@@ -107,7 +107,9 @@ lldb_platform_working_dir = None
test_build_dir = None
# The clang module cache directory used by lldb.
-module_cache_dir = None
+lldb_module_cache_dir = None
+# The clang module cache directory used by clang.
+clang_module_cache_dir = None
# The only directory to scan for tests. If multiple test directories are
# specified, and an exclusive test subdirectory is specified, the latter option