summaryrefslogtreecommitdiffstats
path: root/src/build_test.cc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-03-08 23:54:01 (GMT)
committerEvan Martin <martine@danga.com>2011-03-12 00:00:59 (GMT)
commitb0f0dd5e540da62a83c06757361dfaa6c60efd5e (patch)
tree57ba6501ec1a50a61f30db8b89ea6682f1762715 /src/build_test.cc
parent92baa81d5111cc42ba8a9ea1b5d5e1fbf1c38a0e (diff)
downloadNinja-b0f0dd5e540da62a83c06757361dfaa6c60efd5e.zip
Ninja-b0f0dd5e540da62a83c06757361dfaa6c60efd5e.tar.gz
Ninja-b0f0dd5e540da62a83c06757361dfaa6c60efd5e.tar.bz2
make bad build tests fail earlier
Diffstat (limited to 'src/build_test.cc')
-rw-r--r--src/build_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build_test.cc b/src/build_test.cc
index c1a253e..f39c417 100644
--- a/src/build_test.cc
+++ b/src/build_test.cc
@@ -262,6 +262,7 @@ bool BuildTest::StartCommand(Edge* edge) {
}
bool BuildTest::WaitForCommands() {
+ assert(last_command_);
return true;
}