[2.20] [3/6] Support expected failures in .test-result files
Brooks Moses
bmoses@google.com
Mon Feb 10 23:08:00 GMT 2014
On 01/09/2014 06:12 PM, Joseph S. Myers wrote:
> This patch makes it possible for .test-result files for individual
> tests to contain XPASS and XFAIL rather than PASS and FAIL in cases
> where failure is expected. This replaces the marking of two
> individual tests with "-" to cause them to be expected at makefile
> level to fail; evaluate-test.sh will ensure it exits with status 0 for
> an expected failure.
This one seems reasonable as well, although it makes me a little afraid of
what happens if we keep addressing the need for new features by adding more
complexity to the makefiles, and end up with DejaGnu implemented in Make.
We're of course nowhere near that alarming spectre now, but mighty oaks grow
from tiny acorns and all that.
What do you think of putting the XFAIL information in a separate file that
could potentially be easily read by alternate test drivers, to facilitate
future portability? (And also this would ensure that it the information is
always in a canonical location.)
- Brooks
More information about the Libc-alpha
mailing list