Changeset 1433ecda in mainline for uspace/lib/pcut/src/os/generic.c


Ignore:
Timestamp:
2018-04-04T15:42:37Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/pcut/src/os/generic.c

    r47b2d7e3 r1433ecda  
    8181 * @param test Test that is about to start.
    8282 */
    83 static void before_test_start(pcut_item_t *test) {
     83static void before_test_start(pcut_item_t *test)
     84{
    8485        pcut_report_test_start(test);
    8586
     
    9394 * @return Test outcome code.
    9495 */
    95 static int convert_wait_status_to_outcome(int status) {
     96static int convert_wait_status_to_outcome(int status)
     97{
    9698        if (status < 0) {
    9799                return PCUT_OUTCOME_INTERNAL_ERROR;
     
    108110 * @param test Test to be run.
    109111 */
    110 int pcut_run_test_forking(const char *self_path, pcut_item_t *test) {
     112int pcut_run_test_forking(const char *self_path, pcut_item_t *test)
     113{
    111114        int rc, outcome;
    112115        FILE *tempfile;
     
    118121        FORMAT_TEMP_FILENAME(tempfile_name, PCUT_TEMP_FILENAME_BUFFER_SIZE - 1);
    119122        FORMAT_COMMAND(command, PCUT_COMMAND_LINE_BUFFER_SIZE - 1,
    120                 self_path, (test)->id, tempfile_name);
     123            self_path, (test)->id, tempfile_name);
    121124
    122125        PCUT_DEBUG("Will execute <%s> (temp file <%s>) with system().",
    123                 command, tempfile_name);
     126            command, tempfile_name);
    124127
    125128        rc = system(command);
     
    144147}
    145148
    146 void pcut_hook_before_test(pcut_item_t *test) {
     149void pcut_hook_before_test(pcut_item_t *test)
     150{
    147151        PCUT_UNUSED(test);
    148152
Note: See TracChangeset for help on using the changeset viewer.