diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2016-05-13 15:11:42 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-05-18 16:36:08 -0700 |
| commit | bdadad85b5cb77315893a887a3c8bf31687459f8 (patch) | |
| tree | 1f3627a6a9c40c2d7ace52b8351f1173e1066bf0 /src/bootstrap | |
| parent | 9a140454ea47b7fd107b6e963b7ea2aef74e9518 (diff) | |
| download | rust-bdadad85b5cb77315893a887a3c8bf31687459f8.tar.gz rust-bdadad85b5cb77315893a887a3c8bf31687459f8.zip | |
rustbuild: Add missing test suites
After a comparison with the current set of tests run it was discovered that rustbuild accidentally wasn't running a few test suites. This commit adds back a few more test suites: * rfail-full * pretty-rpass * pretty-rpass-full * pretty-rpass-valgrind * pretty-rfail * pretty-rfail-full * librustc_bitflags unit tests
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/build/mod.rs | 40 | ||||
| -rw-r--r-- | src/bootstrap/build/step.rs | 32 |
2 files changed, 57 insertions, 15 deletions
diff --git a/src/bootstrap/build/mod.rs b/src/bootstrap/build/mod.rs index 3284b5dfe9c..ebc05c5f61c 100644 --- a/src/bootstrap/build/mod.rs +++ b/src/bootstrap/build/mod.rs @@ -318,10 +318,18 @@ impl Build { check::compiletest(self, &compiler, target.target, "run-pass", "run-pass"); } + CheckRPassFull { compiler } => { + check::compiletest(self, &compiler, target.target, + "run-pass", "run-pass-fulldeps"); + } CheckCFail { compiler } => { check::compiletest(self, &compiler, target.target, "compile-fail", "compile-fail"); } + CheckCFailFull { compiler } => { + check::compiletest(self, &compiler, target.target, + "compile-fail", "compile-fail-fulldeps") + } CheckPFail { compiler } => { check::compiletest(self, &compiler, target.target, "parse-fail", "parse-fail"); @@ -330,10 +338,34 @@ impl Build { check::compiletest(self, &compiler, target.target, "run-fail", "run-fail"); } + CheckRFailFull { compiler } => { + check::compiletest(self, &compiler, target.target, + "run-fail", "run-fail-fulldeps"); + } CheckPretty { compiler } => { check::compiletest(self, &compiler, target.target, "pretty", "pretty"); } + CheckPrettyRPass { compiler } => { + check::compiletest(self, &compiler, target.target, + "pretty", "run-pass"); + } + CheckPrettyRPassFull { compiler } => { + check::compiletest(self, &compiler, target.target, + "pretty", "run-pass-fulldeps"); + } + CheckPrettyRFail { compiler } => { + check::compiletest(self, &compiler, target.target, + "pretty", "run-fail"); + } + CheckPrettyRFailFull { compiler } => { + check::compiletest(self, &compiler, target.target, + "pretty", "run-fail-fulldeps"); + } + CheckPrettyRPassValgrind { compiler } => { + check::compiletest(self, &compiler, target.target, + "pretty", "run-pass-valgrind"); + } CheckCodegen { compiler } => { check::compiletest(self, &compiler, target.target, "codegen", "codegen"); @@ -370,14 +402,6 @@ impl Build { check::compiletest(self, &compiler, target.target, "run-pass-valgrind", "run-pass-valgrind"); } - CheckRPassFull { compiler } => { - check::compiletest(self, &compiler, target.target, - "run-pass", "run-pass-fulldeps"); - } - CheckCFailFull { compiler } => { - check::compiletest(self, &compiler, target.target, - "compile-fail", "compile-fail-fulldeps") - } CheckDocs { compiler } => { check::docs(self, &compiler); } diff --git a/src/bootstrap/build/step.rs b/src/bootstrap/build/step.rs index 4e53ddef594..742fd8575bb 100644 --- a/src/bootstrap/build/step.rs +++ b/src/bootstrap/build/step.rs @@ -106,19 +106,25 @@ macro_rules! targets { (check_cargotest, CheckCargoTest { stage: u32 }), (check_tidy, CheckTidy { stage: u32 }), (check_rpass, CheckRPass { compiler: Compiler<'a> }), + (check_rpass_full, CheckRPassFull { compiler: Compiler<'a> }), + (check_rpass_valgrind, CheckRPassValgrind { compiler: Compiler<'a> }), (check_rfail, CheckRFail { compiler: Compiler<'a> }), + (check_rfail_full, CheckRFailFull { compiler: Compiler<'a> }), (check_cfail, CheckCFail { compiler: Compiler<'a> }), + (check_cfail_full, CheckCFailFull { compiler: Compiler<'a> }), (check_pfail, CheckPFail { compiler: Compiler<'a> }), + (check_pretty, CheckPretty { compiler: Compiler<'a> }), + (check_pretty_rpass, CheckPrettyRPass { compiler: Compiler<'a> }), + (check_pretty_rpass_full, CheckPrettyRPassFull { compiler: Compiler<'a> }), + (check_pretty_rfail, CheckPrettyRFail { compiler: Compiler<'a> }), + (check_pretty_rfail_full, CheckPrettyRFailFull { compiler: Compiler<'a> }), + (check_pretty_rpass_valgrind, CheckPrettyRPassValgrind { compiler: Compiler<'a> }), (check_codegen, CheckCodegen { compiler: Compiler<'a> }), (check_codegen_units, CheckCodegenUnits { compiler: Compiler<'a> }), (check_incremental, CheckIncremental { compiler: Compiler<'a> }), (check_ui, CheckUi { compiler: Compiler<'a> }), (check_debuginfo, CheckDebuginfo { compiler: Compiler<'a> }), (check_rustdoc, CheckRustdoc { compiler: Compiler<'a> }), - (check_pretty, CheckPretty { compiler: Compiler<'a> }), - (check_rpass_valgrind, CheckRPassValgrind { compiler: Compiler<'a> }), - (check_rpass_full, CheckRPassFull { compiler: Compiler<'a> }), - (check_cfail_full, CheckCFailFull { compiler: Compiler<'a> }), (check_docs, CheckDocs { compiler: Compiler<'a> }), (check_error_index, CheckErrorIndex { compiler: Compiler<'a> }), (check_rmake, CheckRMake { compiler: Compiler<'a> }), @@ -378,8 +384,11 @@ impl<'a> Step<'a> { Source::Check { stage, compiler } => { vec![ self.check_rpass(compiler), - self.check_cfail(compiler), + self.check_rpass_full(compiler), self.check_rfail(compiler), + self.check_rfail_full(compiler), + self.check_cfail(compiler), + self.check_cfail_full(compiler), self.check_pfail(compiler), self.check_incremental(compiler), self.check_ui(compiler), @@ -391,9 +400,12 @@ impl<'a> Step<'a> { self.check_debuginfo(compiler), self.check_rustdoc(compiler), self.check_pretty(compiler), + self.check_pretty_rpass(compiler), + self.check_pretty_rpass_full(compiler), + self.check_pretty_rfail(compiler), + self.check_pretty_rfail_full(compiler), + self.check_pretty_rpass_valgrind(compiler), self.check_rpass_valgrind(compiler), - self.check_rpass_full(compiler), - self.check_cfail_full(compiler), self.check_error_index(compiler), self.check_docs(compiler), self.check_rmake(compiler), @@ -412,6 +424,8 @@ impl<'a> Step<'a> { Source::CheckTidy { stage } => { vec![self.tool_tidy(stage)] } + Source::CheckPrettyRPass { compiler } | + Source::CheckPrettyRFail { compiler } | Source::CheckRFail { compiler } | Source::CheckPFail { compiler } | Source::CheckCodegen { compiler } | @@ -438,7 +452,11 @@ impl<'a> Step<'a> { ] } Source::CheckRPassFull { compiler } | + Source::CheckRFailFull { compiler } | Source::CheckCFailFull { compiler } | + Source::CheckPrettyRPassFull { compiler } | + Source::CheckPrettyRFailFull { compiler } | + Source::CheckPrettyRPassValgrind { compiler } | Source::CheckRMake { compiler } => { vec![self.librustc(compiler), self.tool_compiletest(compiler.stage)] |
