[Lldb-commits] [lldb] r146320 - /lldb/trunk/test/benchmarks/disassembly/TestDisassembly.py
Johnny Chen
johnny.chen at apple.com
Fri Dec 9 23:18:12 PST 2011
Author: johnny
Date: Sat Dec 10 01:18:11 2011
New Revision: 146320
URL: http://llvm.org/viewvc/llvm-project?rev=146320&view=rev
Log:
Move some print stmts to the test method, where they get printed only if the test is qualified to run
under the current test driver run configuration.
Modified:
lldb/trunk/test/benchmarks/disassembly/TestDisassembly.py
Modified: lldb/trunk/test/benchmarks/disassembly/TestDisassembly.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/benchmarks/disassembly/TestDisassembly.py?rev=146320&r1=146319&r2=146320&view=diff
==============================================================================
--- lldb/trunk/test/benchmarks/disassembly/TestDisassembly.py (original)
+++ lldb/trunk/test/benchmarks/disassembly/TestDisassembly.py Sat Dec 10 01:18:11 2011
@@ -29,10 +29,6 @@
else:
self.gdbExec = "gdb"
- print
- print "lldb path: %s" % self.lldbExec
- print "gdb path: %s" % self.gdbExec
-
self.exe = self.lldbHere
self.function = 'Driver::MainLoop()'
self.lldb_avg = None
@@ -45,6 +41,10 @@
def test_run_lldb_then_gdb(self):
"""Test disassembly on a large function with lldb vs. gdb."""
print
+ print "lldb path: %s" % self.lldbExec
+ print "gdb path: %s" % self.gdbExec
+
+ print
self.run_lldb_disassembly(self.exe, self.function, self.count)
print "lldb benchmark:", self.stopwatch
self.run_gdb_disassembly(self.exe, self.function, self.count)
@@ -55,6 +55,10 @@
def test_run_gdb_then_lldb(self):
"""Test disassembly on a large function with lldb vs. gdb."""
print
+ print "lldb path: %s" % self.lldbExec
+ print "gdb path: %s" % self.gdbExec
+
+ print
self.run_gdb_disassembly(self.exe, self.function, self.count)
print "gdb benchmark:", self.stopwatch
self.run_lldb_disassembly(self.exe, self.function, self.count)
More information about the lldb-commits
mailing list