(file, name): the key a registration resolves by. */
| 1364 | |
| 1365 | /* (file, name): the key a registration resolves by. */ |
| 1366 | static int tm_cmp_case_key(const void *left, const void *right) { |
| 1367 | const cbm_test_case_t *const *a = left; |
| 1368 | const cbm_test_case_t *const *b = right; |
| 1369 | int by_file = tm_cmp_text((*a)->file, (*b)->file); |
| 1370 | return by_file != 0 ? by_file : tm_cmp_text((*a)->name, (*b)->name); |
| 1371 | } |
| 1372 | |
| 1373 | static bool tm_link_registrations(cbm_test_model_t *m) { |
| 1374 | if (m->reg_count == 0 || m->case_count == 0) { |
nothing calls this directly
no test coverage detected