Skip to content

Commit

Permalink
flush printing DMD version in debug builds, it can confuse tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rainers committed Sep 4, 2015
1 parent adc51b1 commit 60dab1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mars.d
Expand Up @@ -264,6 +264,7 @@ extern (C++) int tryMain(size_t argc, const(char)** argv)
debug
{
printf("DMD %s DEBUG\n", global._version);
fflush(stdout); // avoid interleaving with stderr output when redirecting
}
unittests();
// Check for malformed input
Expand Down

0 comments on commit 60dab1b

Please sign in to comment.