Bug 1457524 part 2 - Run all rust tests regardless of failures. r=froydnj

MozReview-Commit-ID: K4ZhFOWd6gd

--HG--
extra : rebase_source : 176ecf1b54e949d2a177f15106dd7a31d158c845
This commit is contained in:
Xidorn Quan 2018-05-02 17:13:25 +10:00
parent 1c8dc43017
commit 28f16a3912

View File

@ -965,8 +965,11 @@ ifdef RUST_TEST_FEATURES
rust_features_flag := --features "$(RUST_TEST_FEATURES)"
endif
# Don't stop at the first failure. We want to list all failures together.
rust_test_flag := --no-fail-fast
force-cargo-test-run:
$(call RUN_CARGO,test $(cargo_target_flag) $(rust_test_options) $(rust_features_flag),$(target_cargo_env_vars))
$(call RUN_CARGO,test $(cargo_target_flag) $(rust_test_flag) $(rust_test_options) $(rust_features_flag),$(target_cargo_env_vars))
check:: force-cargo-test-run
endif