Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #408 from nico/fix

Make sure no stale test file exists before running build log tests.
  • Loading branch information...
commit cce1b9854832bec89d55ddc2df8d496968b958da 2 parents d82206d + e744221
@martine authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/build_log_test.cc
View
2  src/build_log_test.cc
@@ -30,6 +30,8 @@ const char kTestFilename[] = "BuildLogTest-tempfile";
struct BuildLogTest : public StateTestWithBuiltinRules {
virtual void SetUp() {
+ // In case a crashing test left a stale file behind.
+ unlink(kTestFilename);
}
virtual void TearDown() {
unlink(kTestFilename);
Please sign in to comment.
Something went wrong with that request. Please try again.