| 874 | }; |
| 875 | |
| 876 | static void add_skipped(struct log_info *info) |
| 877 | { |
| 878 | if (info->num_skipped) { |
| 879 | json_object_start(info->response, NULL); |
| 880 | json_add_string(info->response, "type", "SKIPPED"); |
| 881 | json_add_num(info->response, "num_skipped", info->num_skipped); |
| 882 | json_object_end(info->response); |
| 883 | info->num_skipped = 0; |
| 884 | } |
| 885 | } |
| 886 | |
| 887 | static void log_to_json(unsigned int skipped, |
| 888 | struct timerel diff, |
no test coverage detected