Changes in uspace/lib/pcut/src/report/xml.c [9b20126:9eb1ff5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/pcut/src/report/xml.c
r9b20126 r9eb1ff5 135 135 const char *status_str = NULL; 136 136 137 if (outcome != TEST_OUTCOME_PASS) {137 if (outcome != PCUT_OUTCOME_PASS) { 138 138 failed_tests_in_suite++; 139 139 } 140 140 141 141 switch (outcome) { 142 case TEST_OUTCOME_PASS:142 case PCUT_OUTCOME_PASS: 143 143 status_str = "pass"; 144 144 break; 145 case TEST_OUTCOME_FAIL:145 case PCUT_OUTCOME_FAIL: 146 146 status_str = "fail"; 147 147 break; 148 case TEST_OUTCOME_ERROR:148 default: 149 149 status_str = "error"; 150 break;151 default:152 /* Shall not get here. */153 150 break; 154 151 }
Note:
See TracChangeset
for help on using the changeset viewer.