Lines Matching defs:tests
36 } tests[] = {
125 for (int i = 0; i < ARRAY_SIZE(tests); i++) {
126 devinfo.ver = tests[i].ver;
130 (long long)tests[i].inst,
131 tests[i].expected);
134 tests[i].inst);
138 if (strcmp(disasm_output, tests[i].expected) != 0) {
140 printf(" Expected: \"%s\"\n", tests[i].expected);
148 if (!v3d_qpu_instr_unpack(&devinfo, tests[i].inst, &instr)) {
149 printf("FAIL (unpack) %s\n", tests[i].expected);
175 printf("FAIL (pack) %s\n", tests[i].expected);
180 if (repack != tests[i].inst) {
182 printf(" Expected: \"%s\"\n", tests[i].expected);