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 25, 2022
1 parent 1590791 commit df5fd1a
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 df5fd1a

Please sign in to comment.