1
0
Fork 0
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:
Jonah Graham 2022-10-25 10:33:06 -04:00
parent fd256d59d5
commit 5fac32e3f8

View file

@ -48,6 +48,7 @@ int main()
loop();
setBlocks();
SLEEP(1);
cout << flush;
a++; // LINE_NUMBER_5
return 0; // LINE_NUMBER_6
}