Add another test case covering pool release on edge failure
authorDavid Emett <dave@sp4m.net>
Sun, 20 Sep 2015 13:43:01 +0000 (14:43 +0100)
committerBrad King <brad.king@kitware.com>
Wed, 6 Apr 2016 15:24:46 +0000 (11:24 -0400)
commitff6eedb968ddd6f0f9ba252a31e5a77967edddb5
tree586d8272ccfdbf2919329759aa9c6ee0a82eb5a0
parent7d21426c56306917ebaf16671a75215672d79755
Add another test case covering pool release on edge failure

With this build file:

    pool failpool
      depth = 1
    rule fail
      command = fail
      pool = failpool
    build out1: fail
    build out2: fail
    build out3: fail
    build final: phony out1 out2 out3

Running `ninja -k 0` should run out1..3 sequentially before failing, but
until recently we would fail after just running out1.  Add a test
covering this case.
src/build_test.cc