File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 2121config .name = "lldb-shell"
2222
2323# testFormat: The test format to use to interpret tests.
24- config .test_format = toolchain .ShTestLldb (not llvm_config .use_lit_shell )
24+ # We prefer the lit internal shell which provides a better user experience on
25+ # failures and is faster unless the user explicitly disables it with
26+ # LIT_USE_INTERNAL_SHELL=0 env var.
27+ use_lit_shell = True
28+ lit_shell_env = os .environ .get ("LIT_USE_INTERNAL_SHELL" )
29+ if lit_shell_env :
30+ use_lit_shell = lit .util .pythonize_bool (lit_shell_env )
31+
32+ config .test_format = toolchain .ShTestLldb (not use_lit_shell )
2533
2634# suffixes: A list of file extensions to treat as test files. This is overriden
2735# by individual lit.local.cfg files in the test subdirectories.
You can’t perform that action at this time.
0 commit comments