Changeset 9eb1ff5 in mainline for uspace/lib/pcut/src/report/xml.c
- Timestamp:
- 2017-12-08T14:47:08Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c1694b6b
- Parents:
- 6fb8b2c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/pcut/src/report/xml.c
r6fb8b2c 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.