[PATCH] D25407: [lit] Remove (or allow specific) unused imports

Alex Bradbury via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 10 06:17:50 PDT 2016


asb added a comment.

In https://reviews.llvm.org/D25407#566074, @grimar wrote:

> Hi Brian, I have a error after that change on windows (when reverting r283710, it is works fine again):
>
> C:\c_make_build_dir\Debug\bin\llvm-lit.py -v C:\llvm\test\Object\invalid.test
>  Traceback (most recent call last):
>
>     File "C:\c_make_build_dir\Debug\bin\llvm-lit.py", line 44, in <module>
>       lit.main(builtin_parameters)
>   AttributeError: 'module' object has no attribute 'main'
>


Same issue on Arch:

  ./bin/llvm-lit test
  Traceback (most recent call last):
    File "./bin/llvm-lit", line 44, in <module>
      lit.main(builtin_parameters)
  AttributeError: module 'lit' has no attribute 'main'


https://reviews.llvm.org/D25407





More information about the llvm-commits mailing list