<div dir="ltr">That probably got turned on by default by me on accident when I removed some of the command line options that mucked with the verbosity setting. Thanks!</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 10, 2015 at 3:17 PM Todd Fiala via lldb-commits <<a href="mailto:lldb-commits@lists.llvm.org">lldb-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: tfiala<br>
Date: Thu Dec 10 17:14:24 2015<br>
New Revision: 255310<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=255310&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=255310&view=rev</a><br>
Log:<br>
test result details now print module.class.test_name in verbose mode.<br>
<br>
And, turns off verbose mode by default. This must have been switched<br>
on as the default when somebody was testing.<br>
<br>
Modified:<br>
lldb/trunk/packages/Python/lldbsuite/test/basic_results_formatter.py<br>
lldb/trunk/packages/Python/lldbsuite/test/configuration.py<br>
<br>
Modified: lldb/trunk/packages/Python/lldbsuite/test/basic_results_formatter.py<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/basic_results_formatter.py?rev=255310&r1=255309&r2=255310&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/basic_results_formatter.py?rev=255310&r1=255309&r2=255310&view=diff</a><br>
==============================================================================<br>
--- lldb/trunk/packages/Python/lldbsuite/test/basic_results_formatter.py (original)<br>
+++ lldb/trunk/packages/Python/lldbsuite/test/basic_results_formatter.py Thu Dec 10 17:14:24 2015<br>
@@ -13,6 +13,7 @@ from __future__ import print_function<br>
import os<br>
<br>
# Our imports<br>
+from . import configuration<br>
from . import result_formatter<br>
from .result_formatter import EventBuilder<br>
import lldbsuite<br>
@@ -272,6 +273,13 @@ class BasicResultsFormatter(result_forma<br>
extra_info,<br>
event["test_filename"]))<br>
else:<br>
+ # Figure out the identity we will use for this test.<br>
+ if configuration.verbose and ("test_class" in event):<br>
+ test_id = "{}.{}".format(<br>
+ event["test_class"], event["test_name"])<br>
+ else:<br>
+ test_id = event["test_name"]<br>
+<br>
# Test-method events have richer detail, use that here.<br>
test_relative_path = os.path.relpath(<br>
os.path.realpath(event["test_filename"]),<br>
@@ -279,7 +287,7 @@ class BasicResultsFormatter(result_forma<br>
self.out_file.write("{}: {}{} ({})\n".format(<br>
detail_label,<br>
extra_info,<br>
- event["test_name"],<br>
+ test_id,<br>
test_relative_path))<br>
<br>
def _finish_output_no_lock(self):<br>
<br>
Modified: lldb/trunk/packages/Python/lldbsuite/test/configuration.py<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/configuration.py?rev=255310&r1=255309&r2=255310&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/configuration.py?rev=255310&r1=255309&r2=255310&view=diff</a><br>
==============================================================================<br>
--- lldb/trunk/packages/Python/lldbsuite/test/configuration.py (original)<br>
+++ lldb/trunk/packages/Python/lldbsuite/test/configuration.py Thu Dec 10 17:14:24 2015<br>
@@ -120,7 +120,7 @@ sdir_has_content = False<br>
svn_info = ''<br>
<br>
# Default verbosity is 0.<br>
-verbose = 1<br>
+verbose = 0<br>
<br>
# By default, search from the script directory.<br>
# We can't use sys.path[0] to determine the script directory<br>
<br>
<br>
_______________________________________________<br>
lldb-commits mailing list<br>
<a href="mailto:lldb-commits@lists.llvm.org" target="_blank">lldb-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits</a><br>
</blockquote></div>