From: NAKAMURA Takumi Date: Mon, 10 Oct 2016 23:02:42 +0000 (+0000) Subject: Fix llvm-lit.in corresponding to r283710. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c6350bc6977b927233daa4f394b3f467ad78d018;p=platform%2Fupstream%2Fllvm.git Fix llvm-lit.in corresponding to r283710. Traceback (most recent call last): File "bin/llvm-lit", line 44, in lit.main(builtin_parameters) AttributeError: 'module' object has no attribute 'main' Suggested by Artem Belevich. llvm-svn: 283816 --- diff --git a/llvm/utils/llvm-lit/llvm-lit.in b/llvm/utils/llvm-lit/llvm-lit.in index fc96202..57924fa 100755 --- a/llvm/utils/llvm-lit/llvm-lit.in +++ b/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)