| 195 | } |
| 196 | |
| 197 | static int cv_run(const char *lang, const cv_file_t *files, int count, const char *pick, |
| 198 | const char *alpha, const char *beta, const char *caller) { |
| 199 | cv_proj_t p; |
| 200 | bool indexed = cv_index(&p, files, count); |
| 201 | int ok = indexed && cv_expect(lang, cv_measure(&p, pick, alpha, beta, caller)); |
| 202 | if (!indexed) { |
| 203 | fprintf(stderr, " [%s] fixture could not be indexed\n", lang); |
| 204 | } |
| 205 | cv_cleanup(&p); |
| 206 | return ok; |
| 207 | } |
| 208 | |
| 209 | #define CV_ONE(lang, path, src) \ |
| 210 | do { \ |
no test coverage detected