From: NAKAMURA Takumi Date: Thu, 13 Mar 2014 00:10:37 +0000 (+0000) Subject: llvm/test/BugPoint/compile-custom.ll.py: Make it py3-compatible. [PR19112] X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2b5925ba74421febf4c53be7766606c03b13f067;p=oota-llvm.git 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203740 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/BugPoint/compile-custom.ll.py b/test/BugPoint/compile-custom.ll.py index 32093557d69..4b9b30caadc 100755 --- a/test/BugPoint/compile-custom.ll.py +++ b/test/BugPoint/compile-custom.ll.py @@ -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)