Skip to content

Commit

Permalink
Add the lld root to llvm-lit, so llvm-lit can be used
Browse files Browse the repository at this point in the history
to run lld tests individually.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199264 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
jgouly committed Jan 14, 2014
1 parent 6389abd commit 808054f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions utils/llvm-lit/llvm-lit.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ 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')

lld_obj_root = os.path.join(llvm_obj_root, 'projects', 'lld')
if os.path.exists(lld_obj_root):
builtin_parameters['lld_site_config'] = \
os.path.join(lld_obj_root, 'test', 'lit.site.cfg')

if __name__=='__main__':
import lit
lit.main(builtin_parameters)

0 comments on commit 808054f

Please sign in to comment.