From 5c384ab00c7b4b39e457b75d385e9cbe12e699f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Mi=C4=85sko?= Date: Thu, 23 Jan 2020 00:00:00 +0000 Subject: [PATCH] compiletest: Do not run debuginfo tests with gdb on msvc targets --- src/tools/compiletest/src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) 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 { 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 \