rustbuild: Add `./x.py test --no-fail-fast`
authorJosh Stone <jistone@redhat.com>
Tue, 6 Jun 2017 19:59:04 +0000 (12:59 -0700)
committerPeter Michael Green <plugwash@raspbian.org>
Wed, 9 Aug 2017 02:49:55 +0000 (03:49 +0100)
commit3d1195c9f9c2a5655d66934a2befa7110f4f6bb7
tree59c5f0aa01ab6010d6d648e8f1186672c8d0c422
parent2bea7fd9bbb2d0b74c0d76d2e52c5675e112d4d5
rustbuild: Add `./x.py test --no-fail-fast`

This option forwards to each `cargo test` invocation, and applies the
same logic across all test steps to keep going after failures.  At the
end, a brief summary line reports how many commands failed, if any.

Note that if a test program fails to even start at all, or if an
auxiliary build command related to testing fails, these are still left
to stop everything right away.

Fixes #40219.

Gbp-Pq: Name u-rust-1.18.0-no-fail-fast.patch
src/bootstrap/check.rs
src/bootstrap/flags.rs
src/bootstrap/lib.rs
src/bootstrap/step.rs
src/build_helper/lib.rs