Rollup merge of #106078 - nikic:filecheck-context, r=Mark-Simulacrum
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:
commit
edb2b71fdb
@ -2303,6 +2303,8 @@ impl<'test> TestCx<'test> {
|
||||
} 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…
x
Reference in New Issue
Block a user