| 429 | } |
| 430 | |
| 431 | void fxCheckEvent(yaml_event_t* event, yaml_event_type_t type, char* value) |
| 432 | { |
| 433 | if (event->type != type) { |
| 434 | fprintf(stderr, "### invalid yaml type\n"); |
| 435 | c_exit(1); |
| 436 | } |
| 437 | if (value) { |
| 438 | if (c_strcmp((char*)event->data.scalar.value, value) ){ |
| 439 | fprintf(stderr, "### invalid yaml: %s instead of %s\n", (char*)event->data.scalar.value, value); |
| 440 | c_exit(1); |
| 441 | } |
| 442 | } |
| 443 | } |
| 444 | |
| 445 | void fxCompareResults(txResult* input, txResult* output) |
| 446 | { |
no outgoing calls
no test coverage detected