Don't run host-only tests when targeting another platform

This commit is contained in:
Mark Simulacrum
2017-07-20 09:42:18 -06:00
parent 4a21c72fb0
commit f1d04a3434
2 changed files with 114 additions and 42 deletions

View File

@@ -236,9 +236,9 @@ impl<'a> Builder<'a> {
tool::UnstableBookGen, tool::Tidy, tool::Linkchecker, tool::CargoTest,
tool::Compiletest, tool::RemoteTestServer, tool::RemoteTestClient,
tool::RustInstaller, tool::Cargo, tool::Rls),
Kind::Test => describe!(check::Tidy, check::Bootstrap, check::Compiletest, check::Crate,
check::CrateLibrustc, check::Linkcheck, check::Cargotest, check::Cargo, check::Docs,
check::ErrorIndex, check::Distcheck),
Kind::Test => describe!(check::Tidy, check::Bootstrap, check::DefaultCompiletest,
check::HostCompiletest, check::Crate, check::CrateLibrustc, check::Linkcheck,
check::Cargotest, check::Cargo, check::Docs, check::ErrorIndex, check::Distcheck),
Kind::Bench => describe!(check::Crate, check::CrateLibrustc),
Kind::Doc => describe!(doc::UnstableBook, doc::UnstableBookGen, doc::TheBook,
doc::Standalone, doc::Std, doc::Test, doc::Rustc, doc::ErrorIndex, doc::Nomicon,