summaryrefslogtreecommitdiffstats
path: root/lldb/test/benchmarks/stepping/TestSteppingSpeed.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/benchmarks/stepping/TestSteppingSpeed.py')
-rw-r--r--lldb/test/benchmarks/stepping/TestSteppingSpeed.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/lldb/test/benchmarks/stepping/TestSteppingSpeed.py b/lldb/test/benchmarks/stepping/TestSteppingSpeed.py
index 553933f1ee6..3fa01aeaef4 100644
--- a/lldb/test/benchmarks/stepping/TestSteppingSpeed.py
+++ b/lldb/test/benchmarks/stepping/TestSteppingSpeed.py
@@ -1,5 +1,7 @@
"""Test lldb's stepping speed."""
+from __future__ import print_function
+
import lldb_shared
import os, sys
@@ -25,17 +27,17 @@ class SteppingSpeedBench(BenchBase):
if self.count <= 0:
self.count = 50
- #print "self.exe=%s" % self.exe
- #print "self.break_spec=%s" % self.break_spec
+ #print("self.exe=%s" % self.exe)
+ #print("self.break_spec=%s" % self.break_spec)
@benchmarks_test
@no_debug_info_test
@expectedFailureWindows("llvm.org/pr22274: need a pexpect replacement for windows")
def test_run_lldb_steppings(self):
"""Test lldb steppings on a large executable."""
- print
+ print()
self.run_lldb_steppings(self.exe, self.break_spec, self.count)
- print "lldb stepping benchmark:", self.stopwatch
+ print("lldb stepping benchmark:", self.stopwatch)
def run_lldb_steppings(self, exe, break_spec, count):
import pexpect
OpenPOWER on IntegriCloud