modify rust-build to support incremental, ui tests
This commit is contained in:
parent
225fa0faff
commit
1ba4e7b7cf
@ -342,6 +342,14 @@ pub fn build(&mut self) {
|
||||
check::compiletest(self, &compiler, target.target,
|
||||
"codegen-units", "codegen-units");
|
||||
}
|
||||
CheckIncremental { compiler } => {
|
||||
check::compiletest(self, &compiler, target.target,
|
||||
"incremental", "incremental");
|
||||
}
|
||||
CheckUi { compiler } => {
|
||||
check::compiletest(self, &compiler, target.target,
|
||||
"ui", "ui");
|
||||
}
|
||||
CheckDebuginfo { compiler } => {
|
||||
if target.target.contains("msvc") ||
|
||||
target.target.contains("android") {
|
||||
|
@ -111,6 +111,8 @@ macro_rules! targets {
|
||||
(check_pfail, CheckPFail { 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> }),
|
||||
@ -412,6 +414,8 @@ pub fn deps(&self, build: &'a Build) -> Vec<Step<'a>> {
|
||||
Source::CheckPFail { compiler } |
|
||||
Source::CheckCodegen { compiler } |
|
||||
Source::CheckCodegenUnits { compiler } |
|
||||
Source::CheckIncremental { compiler } |
|
||||
Source::CheckUi { compiler } |
|
||||
Source::CheckRustdoc { compiler } |
|
||||
Source::CheckPretty { compiler } |
|
||||
Source::CheckCFail { compiler } |
|
||||
|
Loading…
Reference in New Issue
Block a user