ATF-devel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xfail: expected failures



On Fri Jun 25 2010 at 23:58:21 +0100, Julio Merino wrote:
> >> Please take a look at this design proposal I have written for the feature:
> >>
> >>     http://www.julipedia.org/projects/atf/trac/wiki/DesignXFail
> >>
> >> It is a bit different from your current implementation but I think
> >> covers all use cases that we discussed.  Comments?
> >
> > Looks good, but it doesn't cover timeout (which I missed in the original
> > implementation).  Notably, timeout doesn't work either if you run the
> > test by hand.
> 
> What do you mean?  Expect a timeout?

Yea, or, well, more like expect the test case to hang.

> > I find the name atf_tc_expect_pass() confusing, though.
> 
> How so?  I find it pretty representative compared to the other cases ;-P

Does it have any other meaning that "xfail test will fail here"?  If not,
why not name it accordingly.  If it does, it's not obvious to me from
the name.


Home | Main Index | Thread Index | Old Index