Skip to content

Commit

Permalink
[lit] set clang_taef_site_config in llvm-lit.py (#5717)
Browse files Browse the repository at this point in the history
This will make it possible to run taef test from llvm-lit.py directly
 without set clang_taef_site_config and clang_taef_exec_site_config.
  • Loading branch information
python3kgae authored Sep 14, 2023
1 parent 7cd613b commit 549030f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions utils/llvm-lit/llvm-lit.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@ if os.path.exists(clang_obj_root):
builtin_parameters['clang_tools_extra_site_config'] = \
os.path.join(clang_tools_extra_obj_root, 'test', 'lit.site.cfg')

clang_taef_root = os.path.join(clang_obj_root, 'test', 'taef')
if os.path.exists(clang_taef_root):
builtin_parameters['clang_taef_site_config'] = \
os.path.join(clang_taef_root, 'lit.site.cfg')

clang_taef_exec_root = os.path.join(clang_obj_root, 'test', 'taef_exec')
if os.path.exists(clang_taef_root):
builtin_parameters['clang_taef_exec_site_config'] = \
os.path.join(clang_taef_exec_root, 'lit.site.cfg')


lld_obj_root = os.path.join(llvm_obj_root, 'tools', 'lld')
if os.path.exists(lld_obj_root):
builtin_parameters['lld_site_config'] = \
Expand Down

0 comments on commit 549030f

Please sign in to comment.