[Lldb-commits] [lldb] r299587 - The darwin_log tests are very fragile and currently do not properly assess the state of that functionality.

Sean Callanan via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 5 13:33:40 PDT 2017


Author: spyffe
Date: Wed Apr  5 15:33:39 2017
New Revision: 299587

URL: http://llvm.org/viewvc/llvm-project?rev=299587&view=rev
Log:
The darwin_log tests are very fragile and currently do not properly assess the state of that functionality.
I have put them all in their own category, and made that category disabled by default.

Differential revision: https://reviews.llvm.org/D31718

Added:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/.categories
Modified:
    lldb/trunk/packages/Python/lldbsuite/test/configuration.py
    lldb/trunk/packages/Python/lldbsuite/test/test_categories.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=299587&r1=299586&r2=299587&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/configuration.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/configuration.py Wed Apr  5 15:33:39 2017
@@ -66,7 +66,7 @@ categoriesList = None
 # set to true if we are going to use categories for cherry-picking test cases
 useCategories = False
 # Categories we want to skip
-skipCategories = []
+skipCategories = ["darwin-log"]
 # use this to track per-category failures
 failuresPerCategory = {}
 

Added: lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/.categories
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/.categories?rev=299587&view=auto
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/.categories (added)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/darwin_log/.categories Wed Apr  5 15:33:39 2017
@@ -0,0 +1 @@
+darwin-log

Modified: lldb/trunk/packages/Python/lldbsuite/test/test_categories.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/test_categories.py?rev=299587&r1=299586&r2=299587&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/test_categories.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/test_categories.py Wed Apr  5 15:33:39 2017
@@ -33,7 +33,8 @@ all_categories = {
     'dyntype': 'Tests related to dynamic type support',
     'stresstest': 'Tests related to stressing lldb limits',
     'flakey': 'Flakey test cases, i.e. tests that do not reliably pass at each execution',
-    'lldb-mi': 'lldb-mi tests'}
+    'lldb-mi': 'lldb-mi tests',
+    'darwin-log': 'Darwin log tests'}
 
 
 def unique_string_match(yourentry, list):




More information about the lldb-commits mailing list