Skip to content

Commit 5bd3ef8

Browse files
authored
Rollup merge of rust-lang#34499 - michaelwoerister:lldb-blacklist, r=alexcrichton
Disable debuginfo tests for a given blacklist of LLDB versions Anyone having trouble with most LLDB tests failing on OSX, please report your LLDB version here so I can add it to the blacklist. Blacklisted versions so far: * lldb-350.* cc @rust-lang/tools cc @tedhorst @indutny @jonathandturner (people from the original bug report) Fixes rust-lang#32520.
2 parents 2e893ea + f41de0f commit 5bd3ef8

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/tools/compiletest/src/main.rs

+15
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,17 @@ pub fn run_tests(config: &Config) {
254254

255255
match config.mode {
256256
DebugInfoLldb => {
257+
if let Some(lldb_version) = config.lldb_version.as_ref() {
258+
if is_blacklisted_lldb_version(&lldb_version[..]) {
259+
println!("WARNING: The used version of LLDB ({}) has a \
260+
known issue that breaks debuginfo tests. See \
261+
issue #32520 for more information. Skipping all \
262+
LLDB-based tests!",
263+
lldb_version);
264+
return
265+
}
266+
}
267+
257268
// Some older versions of LLDB seem to have problems with multiple
258269
// instances running in parallel, so only run one test thread at a
259270
// time.
@@ -524,3 +535,7 @@ fn extract_lldb_version(full_version_line: Option<String>) -> Option<String> {
524535
}
525536
None
526537
}
538+
539+
fn is_blacklisted_lldb_version(version: &str) -> bool {
540+
version == "350"
541+
}

0 commit comments

Comments
 (0)