Convert print statements to print function calls.
This patch was generating by running `2to3` on the files in the
lldb/test directory. This patch should be NFC, but it does
introduce the `from __future__ import print_function` line, which
will break future uses of the print statement.
llvm-svn: 250763
diff --git a/lldb/test/bench.py b/lldb/test/bench.py
index 05c3a19..664aa3a 100755
--- a/lldb/test/bench.py
+++ b/lldb/test/bench.py
@@ -14,6 +14,8 @@
See also bench-history.
"""
+from __future__ import print_function
+
import os, sys
import re
from optparse import OptionParser
@@ -55,17 +57,17 @@
# Parses the options, if any.
opts, args = parser.parse_args()
- print "Starting bench runner...."
+ print("Starting bench runner....")
for item in benches:
command = item.replace('%E',
'-e "%s"' % opts.exe if opts.exe else '')
command = command.replace('%X',
'-x "%s"' % opts.break_spec if opts.break_spec else '')
- print "Running %s" % (command)
+ print("Running %s" % (command))
os.system(command)
- print "Bench runner done."
+ print("Bench runner done.")
if __name__ == '__main__':
main()