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