yaml-test-suite: ensure all XFAILs do exist as tests

This commit is contained in:
Denis Lisov 2022-01-18 03:59:58 +03:00 committed by Ethiraric
parent 4ba34544ad
commit 080d7d5275

View file

@ -34,6 +34,11 @@ fn main() -> Result<()> {
.collect::<Result<_>>()?;
let mut tests: Vec<_> = tests.into_iter().flatten().collect();
tests.sort_by_key(|t| t.name.clone());
for &test in EXPECTED_FAILURES {
assert!(tests.iter().find(|t| t.name == test).is_some());
}
run_tests(
&arguments,
tests,