This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [2.20] [3/6] Support expected failures in .test-result files


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]