On 11/14/2012 08:09 AM, Plamen Dimitrov wrote:
Hi all,
Is it possible to define an "expected test failure" through any parameter, so
an entire test group does not receive the status FAIL as a result? While this
is possible with unittests, I looked at the code where the exit status is
generated and where all available types of errors are defined and did not find
anything similar.
Currently, there's no provision for expected test failure in the test
API. The way we are doing expected failures in libvirt tests is to pass
a parameter in the cartesian file, and if this param == yes, catch the
exception error, do not let it propagate to the test. if param == no,
the exception is caught, but then raised.
Best,
Plamen
_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel
_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel