Returns the first token of `suite` and stores one past its last. */
| 1015 | |
| 1016 | /* Returns the first token of `suite` and stores one past its last. */ |
| 1017 | static size_t tf_only_suite_run(const char *suite, size_t *end_out) { |
| 1018 | size_t first = 0; |
| 1019 | while (first < tf_only_count && strcmp(tf_only_tokens[first].suite, suite) != 0) { |
| 1020 | first++; |
| 1021 | } |
| 1022 | size_t end = first; |
| 1023 | while (end < tf_only_count && strcmp(tf_only_tokens[end].suite, suite) == 0) { |
| 1024 | end++; |
| 1025 | } |
| 1026 | *end_out = end; |
| 1027 | return first; |
| 1028 | } |
| 1029 | |
| 1030 | static void tf_only_raise(size_t first, size_t end, tf_only_state_t state) { |
| 1031 | for (size_t i = first; i < end; i++) { |
no outgoing calls
no test coverage detected