Changeset 3bacee1 in mainline for uspace/lib/pcut/tests/timeout.c


Ignore:
Timestamp:
2018-04-12T16:27:17Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3cf22f9
Parents:
76d0981d
git-author:
Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
Message:

Make ccheck-fix again and commit more good files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/pcut/tests/timeout.c

    r76d0981d r3bacee1  
    4343#include "tested.h"
    4444
    45 static void my_sleep(int sec) {
     45static void my_sleep(int sec)
     46{
    4647#ifdef __helenos__
    4748        thread_sleep(sec);
     
    5859PCUT_INIT;
    5960
    60 PCUT_TEST(shall_time_out) {
     61PCUT_TEST(shall_time_out)
     62{
    6163        printf("Text before sleeping.\n");
    6264        my_sleep(PCUT_DEFAULT_TEST_TIMEOUT * 5);
     
    6567
    6668PCUT_TEST(custom_time_out,
    67                 PCUT_TEST_SET_TIMEOUT(PCUT_DEFAULT_TEST_TIMEOUT * 3)) {
     69    PCUT_TEST_SET_TIMEOUT(PCUT_DEFAULT_TEST_TIMEOUT * 3))
     70{
    6871        printf("Text before sleeping.\n");
    6972        my_sleep(PCUT_DEFAULT_TEST_TIMEOUT * 2);
Note: See TracChangeset for help on using the changeset viewer.