Author: Jonas Devlieghere
Date: 2020-09-29T09:13:26-07:00
New Revision: ccbb9827db4c30c93b92a204aeb2b98f9f3a723a

URL: 
https://github.com/llvm/llvm-project/commit/ccbb9827db4c30c93b92a204aeb2b98f9f3a723a
DIFF: 
https://github.com/llvm/llvm-project/commit/ccbb9827db4c30c93b92a204aeb2b98f9f3a723a.diff

LOG: [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.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/lit.site.cfg.py.in 
b/lldb/test/API/lit.site.cfg.py.in
index f2e1f855fe39..144d17965b9a 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


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to