File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change 1717# name: The name of this test suite.
1818config .name = "LLVM"
1919
20- # TODO: Consolidate the logic for turning on the internal shell by default for all LLVM test suites.
21- # See https://github.com/llvm/llvm-project/issues/106636 for more details.
22- #
23- # We prefer the lit internal shell which provides a better user experience on failures
24- # and is faster unless the user explicitly disables it with LIT_USE_INTERNAL_SHELL=0
25- # env var.
26- use_lit_shell = True
27- lit_shell_env = os .environ .get ("LIT_USE_INTERNAL_SHELL" )
28- if lit_shell_env :
29- use_lit_shell = lit .util .pythonize_bool (lit_shell_env )
30-
3120# testFormat: The test format to use to interpret tests.
3221extra_substitutions = extra_substitutions = (
3322 [
3726 if config .enable_profcheck
3827 else []
3928)
40- config .test_format = lit .formats .ShTest (not use_lit_shell , extra_substitutions )
29+ config .test_format = lit .formats .ShTest (
30+ not llvm_config .use_lit_shell , extra_substitutions
31+ )
4132
4233# suffixes: A list of file extensions to treat as test files. This is overriden
4334# by individual lit.local.cfg files in the test subdirectories.
You can’t perform that action at this time.
0 commit comments