[Lldb-commits] [lldb] 48ba745 - This test is failing on the Ubuntu bot but the bot log doesn't

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 3 18:04:25 PDT 2020


Author: Jim Ingham
Date: 2020-04-03T18:04:02-07:00
New Revision: 48ba745eacf883080152fe16b5b1305657d001ca

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

LOG: This test is failing on the Ubuntu bot but the bot log doesn't
capture the test stdout, so put the info I need to see in the error
message instead.

Added: 
    

Modified: 
    lldb/test/API/functionalities/thread_plan/TestThreadPlanCommands.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/thread_plan/TestThreadPlanCommands.py b/lldb/test/API/functionalities/thread_plan/TestThreadPlanCommands.py
index 25b184ee406f..c301e8cf8441 100644
--- a/lldb/test/API/functionalities/thread_plan/TestThreadPlanCommands.py
+++ b/lldb/test/API/functionalities/thread_plan/TestThreadPlanCommands.py
@@ -61,7 +61,7 @@ def check_list_output(self, command, active_plans = [], completed_plans = [], di
             fudge = 5
 
         self.assertEqual(num_results, num_active + num_completed + num_discarded + fudge,
-                             "Too many elements in match arrays")
+                             "Too many elements in match arrays for: \n%s\n"%result.GetOutput())
             
         # Now iterate through the results array and pick out the results.
         result_idx = 0


        


More information about the lldb-commits mailing list