should_fail
int should_fail = test->want == NULL;
if (!should_fail)
int should_fail = test->want == NULL;
if (!should_fail)
if (!should_fail && strcmp(test->want, got) != 0) {
int should_fail;
parse_get_int(p, DECAP_RESULT, &should_fail);
if ((failed = !should_fail))
if ((failed = !should_fail))
if ((failed = !should_fail))
if (should_fail != failed) {
should_fail, failed);
int should_fail;
parse_get_int(p, ENCAP_RESULT, &should_fail);
if ((failed = !should_fail))
if ((failed = !should_fail))
if ((failed = !should_fail))
if (should_fail != failed) {
should_fail, failed);
if (I915_SELFTEST_ONLY(should_fail(&vm->fault_attr, 1)))
if (I915_SELFTEST_ONLY(should_fail(&engine->reset_timeout, 1)))
bool should_fail = target > min;
if (should_fail != IS_ERR(obj)) {
if (IS_ENABLED(CONFIG_FAULT_INJECTION) && should_fail(&backup_fault_inject, 1))
should_fail(&backup_fault_inject, 1)) {