diff options
-rw-r--r-- | src/build_log_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/build_log_test.cc b/src/build_log_test.cc index 9af95a3..a6c2a86 100644 --- a/src/build_log_test.cc +++ b/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); |