make the build log test match the indended build log logic
authorEvan Martin <martine@danga.com>
Fri, 27 Jul 2012 17:38:44 +0000 (10:38 -0700)
committerEvan Martin <martine@danga.com>
Fri, 27 Jul 2012 17:38:44 +0000 (10:38 -0700)
commit34fdf02dd57fc7b92e61eeee2c2e6e031ed14477
treea377f469085bb5eb03f330b6dcaaabad6de0e3c5
parent547998bc63640abc71573d94bc6afb11f74c13bc
make the build log test match the indended build log logic

As described on https://github.com/martine/ninja/pull/349 , this test
shouldn't have been passing.  Fixing a Valgrind issue showed that the
test was wrong.  Thankfully it wasn't a critical issue.

The new code verifies that we either succeed or report an error when
parsing -- the only behavior we really care about is not crashing.
src/build_log_test.cc