You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[lit] Add an option to read an xfail list from a file
The `--xfail` and `--xfail-not` lit options allow a list of tests to
be marked as expected to fail/pass on the command line. We've found
this to be useful in CI to temporarily change the state of a test
without making changes to the test sources, while a more appropriate
fix is investigated.
However, we've encountered cases where the list needs to be quite
long (100+ tests), which leads to some very long command strings.
This patch extends the existing options with additional ones,
`--xfail-from-file` and `--xfail-not-from-file` that will instead
read the list from a file instead of directly from the command
line. The underlying functionality remains exactly the same, with
only an alternative source for the lists.
0 commit comments