summaryrefslogtreecommitdiff
path: root/gnu/llvm/utils/llvm-lit
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/llvm/utils/llvm-lit')
-rwxr-xr-xgnu/llvm/utils/llvm-lit/llvm-lit.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/llvm/utils/llvm-lit/llvm-lit.in b/gnu/llvm/utils/llvm-lit/llvm-lit.in
index fc962021d73..57924fab8d3 100755
--- a/gnu/llvm/utils/llvm-lit/llvm-lit.in
+++ b/gnu/llvm/utils/llvm-lit/llvm-lit.in
@@ -40,5 +40,5 @@ if os.path.exists(compilerrt_obj_root):
os.path.join(compilerrt_obj_root, 'test')
if __name__=='__main__':
- import lit
- lit.main(builtin_parameters)
+ from lit.main import main
+ main(builtin_parameters)