Add from __future__ import print_function everywhere.
Apparently there were tons of instances I missed last time, I
guess I accidentally ran 2to3 non-recursively. This should be
every occurrence of a print statement fixed to use a print function
as well as from __future__ import print_function being added to
every file.
After this patch print statements will stop working everywhere in
the test suite, and the print function should be used instead.
llvm-svn: 251121
diff --git a/lldb/test/redo.py b/lldb/test/redo.py
index 65dcaa8..e4eba8b2 100755
--- a/lldb/test/redo.py
+++ b/lldb/test/redo.py
@@ -90,7 +90,7 @@
for name in names:
if name.endswith(suffix):
- #print "Find a log file:", name
+ #print("Find a log file:", name)
if name.startswith("Error") or name.startswith("Failure"):
if filename_components:
if not all([comp in name for comp in filename_components]):
@@ -166,7 +166,7 @@
print("No default session directory found, please specify it explicitly.")
usage()
- #print "The test directory:", test_dir
+ #print("The test directory:", test_dir)
session_dir_path = where(session_dir, test_dir)
print("Using session dir path:", session_dir_path)