[llvm] r203740 - llvm/test/BugPoint/compile-custom.ll.py: Make it py3-compatible. [PR19112]

Adam Nemet anemet at apple.com
Wed Mar 12 17:30:06 PDT 2014


Thanks.  I should have also tried this with python3 :(

Adam

On Mar 12, 2014, at 5:10 PM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:

> Author: chapuni
> Date: Wed Mar 12 19:10:37 2014
> New Revision: 203740
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=203740&view=rev
> Log:
> llvm/test/BugPoint/compile-custom.ll.py: Make it py3-compatible. [PR19112]
> 
> FIXME: Get rid of invoking this.
> I guess it wouldn't run on win32 due to lacking of shell support.
> 
> Modified:
>    llvm/trunk/test/BugPoint/compile-custom.ll.py
> 
> Modified: llvm/trunk/test/BugPoint/compile-custom.ll.py
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/BugPoint/compile-custom.ll.py?rev=203740&r1=203739&r2=203740&view=diff
> ==============================================================================
> --- llvm/trunk/test/BugPoint/compile-custom.ll.py (original)
> +++ llvm/trunk/test/BugPoint/compile-custom.ll.py Wed Mar 12 19:10:37 2014
> @@ -5,6 +5,6 @@ import sys
> # Currently any print-out from the custom tool is interpreted as a crash
> # (i.e. test is still interesting)
> 
> -print "Error: " + ' '.join(sys.argv[1:])
> +print("Error: " + ' '.join(sys.argv[1:]))
> 
> sys.exit(1)
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list