| 135 | } |
| 136 | |
| 137 | int |
| 138 | RegressionTest::run_some(int regression_level) |
| 139 | { |
| 140 | if (current) { |
| 141 | if (current->status == REGRESSION_TEST_INPROGRESS) { |
| 142 | return REGRESSION_TEST_INPROGRESS; |
| 143 | } |
| 144 | |
| 145 | if (current->status != REGRESSION_TEST_NOT_RUN) { |
| 146 | if (!current->printed) { |
| 147 | current->printed = true; |
| 148 | fprintf(stderr, " REGRESSION_RESULT %s:%*s %s\n", current->name, 40 - static_cast<int>(strlen(current->name)), " ", |
| 149 | regression_status_string(current->status)); |
| 150 | } |
| 151 | current = current->next; |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | for (; current; current = current->next) { |
| 156 | if ((dfa.match(current->name) >= 0)) { |
| 157 | int res = start_test(current, regression_level); |
| 158 | if (res == REGRESSION_TEST_INPROGRESS) { |
| 159 | return res; |
| 160 | } |
| 161 | if (res == REGRESSION_TEST_FAILED) { |
| 162 | final_status = REGRESSION_TEST_FAILED; |
| 163 | } |
| 164 | } |
| 165 | } |
| 166 | return REGRESSION_TEST_INPROGRESS; |
| 167 | } |
| 168 | |
| 169 | int |
| 170 | RegressionTest::check_status(int regression_level) |
nothing calls this directly
no test coverage detected