Provide more context on FileCheck failures
FileCheck provides 5 lines of context by default. This is often insufficient to analyze failures that happen in CI. Increase the amount of context to 100 lines.
This commit is contained in:
parent
8a746f4ac3
commit
a0b9c5a9bf
@ -2299,6 +2299,8 @@ fn verify_with_filecheck(&self, output: &Path) -> ProcRes {
|
||||
} else {
|
||||
filecheck.args(&["--check-prefixes", &prefixes]);
|
||||
}
|
||||
// Provide more context on failures.
|
||||
filecheck.args(&["--dump-input-context", "100"]);
|
||||
self.compose_and_run(filecheck, "", None, None)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user