[Lldb-commits] [lldb] r238417 - Don't check breakpoint location count in TestChangeProcessGroup

Pavel Labath labath at google.com
Thu May 28 05:46:14 PDT 2015


Author: labath
Date: Thu May 28 07:46:13 2015
New Revision: 238417

URL: http://llvm.org/viewvc/llvm-project?rev=238417&view=rev
Log:
Don't check breakpoint location count in TestChangeProcessGroup

apparently, we get two locations for the breakpoint on android.

Modified:
    lldb/trunk/test/functionalities/process_group/TestChangeProcessGroup.py

Modified: lldb/trunk/test/functionalities/process_group/TestChangeProcessGroup.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/process_group/TestChangeProcessGroup.py?rev=238417&r1=238416&r2=238417&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/process_group/TestChangeProcessGroup.py (original)
+++ lldb/trunk/test/functionalities/process_group/TestChangeProcessGroup.py Thu May 28 07:46:13 2015
@@ -76,7 +76,7 @@ class ChangeProcessGroupTestCase(TestBas
         self.assertTrue(error.Success() and process, PROCESS_IS_VALID)
 
         # set a breakpoint just before the setpgid() call
-        lldbutil.run_break_set_by_file_and_line(self, 'main.c', self.line)
+        lldbutil.run_break_set_by_file_and_line(self, 'main.c', self.line, num_expected_locations=-1)
 
         thread = process.GetSelectedThread()
         # this gives a chance for the thread to exit the sleep syscall and sidesteps





More information about the lldb-commits mailing list