Lines Matching defs:tests
70 STAGE_END /* must be the last entry (it's the amount of tests) */
78 } tests[] = {
142 enum stage stage = tests[*i].stage;
146 for (; tests[*i].stage == stage; (*i)++) {
148 * Some fetch protection override tests require that page 0
152 * In order to skip these tests we detect this inside the guest
154 skip = tests[*i].addr < (void *)4096 &&
155 tests[*i].expected != TRANSL_UNAVAIL &&
158 result = test_protection(tests[*i].addr, tests[*i].key);
159 __GUEST_ASSERT(result == tests[*i].expected,
161 tests[*i].expected, result, *i);