]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commitdiff
llvm/test/BugPoint/compile-custom.ll.py: Make it py3-compatible. [PR19112]
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 13 Mar 2014 00:10:37 +0000 (00:10 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 13 Mar 2014 00:10:37 +0000 (00:10 +0000)
FIXME: Get rid of invoking this.
I guess it wouldn't run on win32 due to lacking of shell support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203740 91177308-0d34-0410-b5e6-96231b3b80d8

test/BugPoint/compile-custom.ll.py

index 32093557d69dac476f2347de4c701aad0e55498a..4b9b30caadc8149799ea9c791ef28d9e19bcab72 100755 (executable)
@@ -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)