aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2020-09-29 09:12:29 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2020-09-29 09:13:26 -0700
commitccbb9827db4c30c93b92a204aeb2b98f9f3a723a (patch)
tree1f973326b7d554d123b4eb2f42178c66ae73830a
parent3e5f9dacb092a1414f72500111c2b049673e0055 (diff)
downloadllvm-ccbb9827db4c30c93b92a204aeb2b98f9f3a723a.zip
llvm-ccbb9827db4c30c93b92a204aeb2b98f9f3a723a.tar.gz
llvm-ccbb9827db4c30c93b92a204aeb2b98f9f3a723a.tar.bz2
[lldb] Also configure lldb_framework_dir in the lit.site.cfg.py
Configuring the variable in CMake isn't enought, because the build mode can't be resolved until execution time, which requires the build mode to be substituted by lit.
-rw-r--r--lldb/test/API/lit.site.cfg.py.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/test/API/lit.site.cfg.py.in b/lldb/test/API/lit.site.cfg.py.in
index f2e1f85..144d179 100644
--- a/lldb/test/API/lit.site.cfg.py.in
+++ b/lldb/test/API/lit.site.cfg.py.in
@@ -59,6 +59,7 @@ try:
config.dsymutil = config.dsymutil % lit_config.params
config.filecheck = config.filecheck % lit_config.params
config.yaml2obj = config.yaml2obj % lit_config.params
+ config.lldb_framework_dir = config.lldb_framework_dir % lit_config.params
config.dotest_args_str = config.dotest_args_str % lit_config.params
except KeyError as e:
key, = e.args