File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 1- import os
2-
31import lit .llvm
42
53lit .llvm .initialize (lit_config , config )
64lit .llvm .llvm_config .clang_setup ()
75lit .llvm .llvm_config .use_default_substitutions ()
86
9- # TODO: Consolidate the logic for turning on the internal shell by default for all LLVM test suites.
10- # See https://github.com/llvm/llvm-project/issues/106636 for more details.
11- #
12- # We prefer the lit internal shell which provides a better user experience on failures
13- # and is faster unless the user explicitly disables it with LIT_USE_INTERNAL_SHELL=0
14- # env var.
15- use_lit_shell = True
16- lit_shell_env = os .environ .get ("LIT_USE_INTERNAL_SHELL" )
17- if lit_shell_env :
18- use_lit_shell = lit .util .pythonize_bool (lit_shell_env )
19-
207config .name = "Clangd"
218config .suffixes = [".test" ]
229config .excludes = ["Inputs" ]
23- config .test_format = lit .formats .ShTest (not use_lit_shell )
10+ config .test_format = lit .formats .ShTest (not lit . llvm . llvm_config . use_lit_shell )
2411config .test_source_root = config .clangd_source_dir + "/test"
2512config .test_exec_root = config .clangd_binary_dir + "/test"
2613
You can’t perform that action at this time.
0 commit comments