]> granicus.if.org Git - llvm/commitdiff
[Testing] Python 3 requires `print` to use parens
authorDavid Zarzycki <dave@znu.io>
Fri, 20 Sep 2019 13:52:47 +0000 (13:52 +0000)
committerDavid Zarzycki <dave@znu.io>
Fri, 20 Sep 2019 13:52:47 +0000 (13:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372392 91177308-0d34-0410-b5e6-96231b3b80d8

test/Reduce/Inputs/remove-instructions.py

index df4d85dd4f46a7e67d7cdad48fc17d960a949217..9717c73b01aa73dff07fa56096304f8702dcab40 100755 (executable)
@@ -9,7 +9,7 @@ for line in input:
     line = line[:i]
   if "%interesting" in line:
     InterestingInstructions += 1
-  print InterestingInstructions
+  print(InterestingInstructions)
 
 if InterestingInstructions == 5:
   sys.exit(0) # interesting!