[Lldb-commits] [lldb] a06c28d - Temporarily revert "[test] Exit with an error if no tests are run."

Jordan Rupprecht via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 3 18:39:26 PDT 2020


Author: Jordan Rupprecht
Date: 2020-08-03T18:37:50-07:00
New Revision: a06c28df3e8c85ceb665d3d9a1ebc2853dfd87a9

URL: https://github.com/llvm/llvm-project/commit/a06c28df3e8c85ceb665d3d9a1ebc2853dfd87a9
DIFF: https://github.com/llvm/llvm-project/commit/a06c28df3e8c85ceb665d3d9a1ebc2853dfd87a9.diff

LOG: Temporarily revert "[test] Exit with an error if no tests are run."

This reverts commit adb5c23f8c0d60eeec41dcbe21d1b26184e1c97d. It surprisingly fails on a windows build bot: http://lab.llvm.org:8011/builders/lldb-x64-windows-ninja/builds/18009

Will reland after some investigation and/or after adding some extra logging to help debug the issue.

Added: 
    

Modified: 
    lldb/packages/Python/lldbsuite/test/dotest.py

Removed: 
    


################################################################################
diff  --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 6607f52c49db..3fb802f1c1aa 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -1039,10 +1039,6 @@ def run_suite():
             (configuration.suite.countTestCases(),
              configuration.suite.countTestCases() != 1 and "s" or ""))
 
-    if configuration.suite.countTestCases() == 0:
-        logging.error("did not discover any matching tests")
-        exitTestSuite(1)
-
     # Invoke the test runner.
     if configuration.count == 1:
         result = unittest2.TextTestRunner(


        


More information about the lldb-commits mailing list