mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix the dprintf tests when running on gdbserver
Because dprintf goes to stdout, need to make sure buffers are fully flushed before we check output.
This commit is contained in:
parent
fd256d59d5
commit
5fac32e3f8
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ int main()
|
|||
loop();
|
||||
setBlocks();
|
||||
SLEEP(1);
|
||||
cout << flush;
|
||||
a++; // LINE_NUMBER_5
|
||||
return 0; // LINE_NUMBER_6
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue