about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2020-01-23 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2020-01-23 11:41:55 +0100
commit5c384ab00c7b4b39e457b75d385e9cbe12e699f5 (patch)
tree8ca2e9683ee8be64e57cd3c270697afa39099c4f
parent6d218db26df424722d13db0ed3babae3cf450bb3 (diff)
downloadrust-5c384ab00c7b4b39e457b75d385e9cbe12e699f5.tar.gz
rust-5c384ab00c7b4b39e457b75d385e9cbe12e699f5.zip
compiletest: Do not run debuginfo tests with gdb on msvc targets
-rw-r--r--src/tools/compiletest/src/main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/compiletest/src/main.rs b/src/tools/compiletest/src/main.rs
index 0c8f4dd5eaa..72c2332fec4 100644
--- a/src/tools/compiletest/src/main.rs
+++ b/src/tools/compiletest/src/main.rs
@@ -366,6 +366,10 @@ fn configure_gdb(config: &Config) -> Option<Config> {
         return None;
     }
 
+    if util::matches_env(&config.target, "msvc") {
+        return None;
+    }
+
     if config.remote_test_client.is_some() && !config.target.contains("android") {
         println!(
             "WARNING: debuginfo tests are not available when \