about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTim Neumann <mail@timnn.me>2016-11-05 10:23:55 +0100
committerTim Neumann <mail@timnn.me>2016-11-05 10:23:55 +0100
commitd2cb515ab045eefa1fb7ec36078fa0440e4affec (patch)
treed62e3e60133c6cd1e43229f4e6ad5942687885dd /src
parentf7107f32c2fabef7a5b33c514d9f0310c96492d0 (diff)
downloadrust-d2cb515ab045eefa1fb7ec36078fa0440e4affec.tar.gz
rust-d2cb515ab045eefa1fb7ec36078fa0440e4affec.zip
ignore gdb check for android
Diffstat (limited to 'src')
-rw-r--r--src/tools/compiletest/src/runtest.rs11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs
index 3c6903ac21d..c409991a559 100644
--- a/src/tools/compiletest/src/runtest.rs
+++ b/src/tools/compiletest/src/runtest.rs
@@ -43,11 +43,12 @@ pub fn run(config: Config, testpaths: &TestPaths) {
             }
         }
 
-        _=> { }
-    }
-
-    if config.mode == DebugInfoGdb && config.gdb.is_none() {
-        panic!("gdb not available but debuginfo gdb debuginfo test requested");
+        _ => {
+            // android has it's own gdb handling
+            if config.mode == DebugInfoGdb && config.gdb.is_none() {
+                panic!("gdb not available but debuginfo gdb debuginfo test requested");
+            }
+        }
     }
 
     if config.verbose {