[Lldb-commits] [lldb] r325137 - Remove vestigial remnants of the test crash info hook
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 14 08:08:27 PST 2018
Author: labath
Date: Wed Feb 14 08:08:26 2018
New Revision: 325137
URL: http://llvm.org/viewvc/llvm-project?rev=325137&view=rev
Log:
Remove vestigial remnants of the test crash info hook
Modified:
lldb/trunk/packages/Python/lldbsuite/test/configuration.py
lldb/trunk/packages/Python/lldbsuite/test/test_result.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/configuration.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/configuration.py?rev=325137&r1=325136&r2=325137&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/configuration.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/configuration.py Wed Feb 14 08:08:26 2018
@@ -133,10 +133,6 @@ rerun_max_file_threhold = 0
# same base name.
all_tests = set()
-# safe default
-setCrashInfoHook = lambda x: None
-
-
def shouldSkipBecauseOfCategories(test_categories):
if useCategories:
if len(test_categories) == 0 or len(
Modified: lldb/trunk/packages/Python/lldbsuite/test/test_result.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/test_result.py?rev=325137&r1=325136&r2=325137&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/test_result.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/test_result.py Wed Feb 14 08:08:26 2018
@@ -166,10 +166,6 @@ class LLDBTestResult(unittest2.TextTestR
configuration.skip_tests, test.id()):
self.hardMarkAsSkipped(test)
- configuration.setCrashInfoHook(
- "%s at %s" %
- (str(test), inspect.getfile(
- test.__class__)))
self.counter += 1
test.test_number = self.counter
if self.showAll:
More information about the lldb-commits
mailing list