Skip to content

Commit 648844f

Browse files
committed
Make testcase more robust against codegen changes
1 parent 0fd813c commit 648844f

File tree

1 file changed

+2
-3
lines changed
  • lldb/test/API/commands/process/attach

1 file changed

+2
-3
lines changed

lldb/test/API/commands/process/attach/main.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ int main(int argc, char const *argv[]) {
1212
// Waiting to be attached by the debugger.
1313
temp = 0;
1414

15-
while (temp < 30) // Waiting to be attached...
16-
{
17-
std::this_thread::sleep_for(std::chrono::seconds(2));
15+
while (temp < 30) {
16+
std::this_thread::sleep_for(std::chrono::seconds(2)); // Waiting to be attached...
1817
temp++;
1918
}
2019

0 commit comments

Comments
 (0)