Report a skip for swint-emulation if the main purpose of the test is unable to
be performed. However, run the first half of the tests against real hardware
to confirm that the algorithm is correct
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
- Success
- The test passed.
- Skip
- - The test cannot be completed (likely a configuration issue).
+ - The test cannot be completed for configuration reasons.
- Error
- An error in the environment or test code itself.
- Failure
* - Failure
*
* 'Success' indicates that everything went well, while 'Skip' indicates that
- * the test cannot be completed. 'Error' indicates a bug in the test code or
- * environment itself, while 'Failure' indicates a bug in the code under test.
+ * the test cannot be completed for configuration reasons. 'Error' indicates
+ * a bug in the test code or environment itself, while 'Failure' indicates a
+ * bug in the code under test.
*
* If multiple statuses are reported, the most severe is the one which is
* kept.
{
printk("Trap emulation\n");
+ /*
+ * Even if FEP is unavailable, run the tests against real hardware to
+ * check the algorithm, but don't claim overall success.
+ */
if ( !xtf_has_fep )
- xtf_warning("Warning: FEP support not detected - some tests will be skipped\n");
+ xtf_skip("FEP support not detected - some tests will be skipped\n");
/* Setup. Hook unhandled exceptions for debugging purposes. */
xtf_unhandled_exception_hook = unhandled_exception;