Modifying one of the pretty-printer python files in src/etc does "un-ignore" debuginfo tests. The relevant files should be added to the list of inputs in compiletest::up_to_date():
|
fn up_to_date(config: &Config, testpaths: &TestPaths, props: &EarlyProps) -> bool { |
|
let stamp = mtime(&stamp(config, testpaths)); |
|
let mut inputs = vec![ |
|
mtime(&testpaths.file), |
|
mtime(&config.rustc_path), |
|
]; |
|
for aux in props.aux.iter() { |
|
inputs.push(mtime(&testpaths.file.parent().unwrap() |
|
.join("auxiliary") |
|
.join(aux))); |
|
} |
|
for lib in config.run_lib_path.read_dir().unwrap() { |
|
let lib = lib.unwrap(); |
|
inputs.push(mtime(&lib.path())); |
|
} |
|
inputs.iter().any(|input| *input > stamp) |
|
} |
Bonus points for exiting from that function immediately when finding something out-of-date.
Modifying one of the pretty-printer python files in src/etc does "un-ignore" debuginfo tests. The relevant files should be added to the list of inputs in
compiletest::up_to_date():rust/src/tools/compiletest/src/main.rs
Lines 491 to 507 in fd8099f
Bonus points for exiting from that function immediately when finding something out-of-date.