[Lldb-commits] [lldb] r248060 - test events: add test_filename to all test-related events.

Todd Fiala via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 18 15:57:04 PDT 2015


Author: tfiala
Date: Fri Sep 18 17:57:04 2015
New Revision: 248060

URL: http://llvm.org/viewvc/llvm-project?rev=248060&view=rev
Log:
test events: add test_filename to all test-related events.

The test_filename is the full path to the TestCase class's
implementation file.

Modified:
    lldb/trunk/test/test_results.py

Modified: lldb/trunk/test/test_results.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/test_results.py?rev=248060&r1=248059&r2=248060&view=diff
==============================================================================
--- lldb/trunk/test/test_results.py (original)
+++ lldb/trunk/test/test_results.py Fri Sep 18 17:57:04 2015
@@ -78,6 +78,7 @@ class EventBuilder(object):
         event.update({
             "test_class": test_class_name,
             "test_name": test_name,
+            "test_filename": inspect.getfile(test.__class__)
         })
         return event
 




More information about the lldb-commits mailing list