forked from OSchip/llvm-project
Fix this test to set a breakpoint at the correct location that will always get hit so it doesn't intermittently fail on MacOSX.
llvm-svn: 221201
This commit is contained in:
parent
234d3bce01
commit
a3f3fd35ae
|
@ -72,7 +72,7 @@ class AttachResumeTestCase(TestBase):
|
|||
'Process not stopped after interrupt')
|
||||
|
||||
# check that this breakpoint is auto-cleared on detach (r204752)
|
||||
self.runCmd("br set -f main.cpp -l 12")
|
||||
self.runCmd("br set -f main.cpp -l %u" % (line_number('main.cpp', '// Set breakpoint here')))
|
||||
|
||||
self.runCmd("c")
|
||||
self.assertTrue(wait_for_state(lldb.eStateRunning),
|
||||
|
|
|
@ -16,7 +16,7 @@ void *start(void *data)
|
|||
{
|
||||
if ( idx == 0 )
|
||||
std::this_thread::sleep_for(std::chrono::microseconds(1));
|
||||
std::this_thread::sleep_for(std::chrono::seconds(1));
|
||||
std::this_thread::sleep_for(std::chrono::seconds(1)); // Set breakpoint here
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue