[lldb] Also configure lldb_framework_dir in the lit.site.cfg.py
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 29 Sep 2020 16:12:29 +0000 (09:12 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 29 Sep 2020 16:13:26 +0000 (09:13 -0700)
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.

lldb/test/API/lit.site.cfg.py.in

index f2e1f85..144d179 100644 (file)
@@ -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