]> git.lizzy.rs Git - rust.git/commitdiff
modify rust-build to support incremental, ui tests
authorNiko Matsakis <niko@alum.mit.edu>
Fri, 13 May 2016 13:50:30 +0000 (06:50 -0700)
committerNiko Matsakis <niko@alum.mit.edu>
Fri, 13 May 2016 22:22:45 +0000 (15:22 -0700)
src/bootstrap/build/mod.rs
src/bootstrap/build/step.rs

index 44f161fb487f43a5ea8fecac0f5e610f6cc370da..3284b5dfe9c0755b6b07c35d973ebc32d2cb6ec1 100644 (file)
@@ -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") {
index c494d965a19c3f0d5aad082cba4adc3dbdb1c6b6..ba04f448f0b10dd021e1097060f98526734fc2d0 100644 (file)
@@ -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 } |