Changeset 134ac5d in mainline for uspace/lib/pcut/src/report/tap.c
- Timestamp:
- 2014-06-06T07:54:24Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8db09e4
- Parents:
- eeb23f2d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/pcut/src/report/tap.c
reeb23f2d r134ac5d 48 48 static int failed_tests_in_suite; 49 49 50 /** Initialize the tap output. */ 50 /** Initialize the TAP output. 51 * 52 * @param all_items Start of the list with all items. 53 */ 51 54 static void tap_init(pcut_item_t *all_items) { 52 55 int tests_total = pcut_count_tests(all_items); … … 56 59 } 57 60 58 /** Report that a suite was started. */ 61 /** Report that a suite was started. 62 * 63 * @param suite Suite that just started. 64 */ 59 65 static void tap_suite_start(pcut_item_t *suite) { 60 66 tests_in_suite = 0; … … 64 70 } 65 71 66 /** Report that a suite was completed. */ 72 /** Report that a suite was completed. 73 * 74 * @param suite Suite that just ended. 75 */ 67 76 static void tap_suite_done(pcut_item_t *suite) { 68 77 printf("#> Finished suite %s (failed %d of %d).\n", … … 104 113 } 105 114 106 /** Report a completed test. */ 115 /** Report a completed test. 116 * 117 * @param test Test that just finished. 118 * @param outcome Outcome of the test. 119 * @param error_message Buffer with error message. 120 * @param teardown_error_message Buffer with error message from a tear-down function. 121 * @param extra_output Extra output from the test (stdout). 122 */ 107 123 static void tap_test_done(pcut_item_t *test, int outcome, 108 124 const char *error_message, const char *teardown_error_message,
Note:
See TracChangeset
for help on using the changeset viewer.