Don't check breakpoint location count in TestChangeProcessGroup
authorPavel Labath <labath@google.com>
Thu, 28 May 2015 12:46:13 +0000 (12:46 +0000)
committerPavel Labath <labath@google.com>
Thu, 28 May 2015 12:46:13 +0000 (12:46 +0000)
apparently, we get two locations for the breakpoint on android.

llvm-svn: 238417

lldb/test/functionalities/process_group/TestChangeProcessGroup.py

index c887312..da8c819 100644 (file)
@@ -76,7 +76,7 @@ class ChangeProcessGroupTestCase(TestBase):
         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