about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2017-07-20 11:23:29 -0600
committerMark Simulacrum <mark.simulacrum@gmail.com>2017-07-20 16:33:49 -0600
commit951616cac65c8d5218ac9047bb1d6163c6cd118c (patch)
tree06d93ac1bed534a1a480320f8b693101e106628f
parentf1d04a3434ea6a57addac9c205580d80e8b5837c (diff)
downloadrust-951616cac65c8d5218ac9047bb1d6163c6cd118c.tar.gz
rust-951616cac65c8d5218ac9047bb1d6163c6cd118c.zip
Don't include lldb/gdb in default tests
-rw-r--r--src/bootstrap/check.rs12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/bootstrap/check.rs b/src/bootstrap/check.rs
index 4be013e480e..98c3df58f87 100644
--- a/src/bootstrap/check.rs
+++ b/src/bootstrap/check.rs
@@ -493,8 +493,6 @@ static DEFAULT_COMPILETESTS: &[Test] = &[
 
     // What this runs varies depending on the native platform being apple
     Test { path: "src/test/debuginfo", mode: "debuginfo-XXX", suite: "debuginfo" },
-    Test { path: "src/test/debuginfo-lldb", mode: "debuginfo-lldb", suite: "debuginfo" },
-    Test { path: "src/test/debuginfo-gdb", mode: "debuginfo-gdb", suite: "debuginfo" },
 ];
 
 #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)]
@@ -680,6 +678,11 @@ impl Step for Compiletest {
         }
 
         if suite == "debuginfo" {
+            // Skip debuginfo tests on MSVC
+            if build.build.contains("msvc") {
+                return;
+            }
+
             if mode == "debuginfo-XXX" {
                 return if build.build.contains("apple") {
                     builder.ensure(Compiletest {
@@ -694,11 +697,6 @@ impl Step for Compiletest {
                 };
             }
 
-            // Skip debuginfo tests on MSVC
-            if build.build.contains("msvc") {
-                return;
-            }
-
             builder.ensure(dist::DebuggerScripts {
                 sysroot: builder.sysroot(compiler),
                 target: target