Skip to content

Commit

Permalink
Fix the dprintf tests when running on gdbserver
Browse files Browse the repository at this point in the history
Because dprintf goes to stdout, need to make sure buffers are
fully flushed before we check output.
  • Loading branch information
jonahgraham committed Oct 26, 2022
1 parent fd256d5 commit 5fac32e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ int main()
loop();
setBlocks();
SLEEP(1);
cout << flush;
a++; // LINE_NUMBER_5
return 0; // LINE_NUMBER_6
}

0 comments on commit 5fac32e

Please sign in to comment.