Lines Matching refs:tests
69 STAGE_END /* must be the last entry (it's the amount of tests) */
77 } tests[] = {
141 enum stage stage = tests[*i].stage;
145 for (; tests[*i].stage == stage; (*i)++) {
147 * Some fetch protection override tests require that page 0
151 * In order to skip these tests we detect this inside the guest
153 skip = tests[*i].addr < (void *)4096 &&
154 tests[*i].expected != TRANSL_UNAVAIL &&
157 result = test_protection(tests[*i].addr, tests[*i].key);
158 __GUEST_ASSERT(result == tests[*i].expected,
160 tests[*i].expected, result, *i);