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

NAKAMURA Takumi geek4civic at gmail.com
Wed Mar 12 17:10:37 PDT 2014


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)





More information about the llvm-commits mailing list