| 1030 | } |
| 1031 | |
| 1032 | static bool cv2_test_state(cv2_context_t *ctx, cv2_span_t fields[4], cbm_coverage_test_t *row) { |
| 1033 | bool complete = cv2_literal(fields[1], "complete", 8); |
| 1034 | bool incomplete = cv2_literal(fields[1], "incomplete", 10); |
| 1035 | if ((!complete && !incomplete) || (complete && fields[2].length) || |
| 1036 | (incomplete && !fields[2].length)) |
| 1037 | return cv2_fail(ctx, CBM_COVERAGE_PARSE_FORMAT); |
| 1038 | row->complete = complete; |
| 1039 | row->reason = cv2_string(ctx, fields[2]); |
| 1040 | return row->reason != NULL; |
| 1041 | } |
| 1042 | |
| 1043 | static bool cv2_test_ids(cv2_context_t *ctx, cv2_span_t span, cbm_coverage_test_t *row) { |
| 1044 | int count; |
no test coverage detected