Changeset f47c70d4 in mainline


Ignore:
Timestamp:
2012-07-04T12:58:12Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b46b77
Parents:
1f2dd20
Message:

Smoke test for logger

Location:
uspace/app/tester
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/Makefile

    r1f2dd20 rf47c70d4  
    4545        stdio/stdio1.c \
    4646        stdio/stdio2.c \
     47        stdio/logger1.c \
    4748        fault/fault1.c \
    4849        fault/fault2.c \
  • uspace/app/tester/tester.c

    r1f2dd20 rf47c70d4  
    3939#include <stdio.h>
    4040#include <str.h>
     41#include <io/log.h>
    4142#include "tester.h"
    4243
     
    5556#include "stdio/stdio1.def"
    5657#include "stdio/stdio2.def"
     58#include "stdio/logger1.def"
    5759#include "fault/fault1.def"
    5860#include "fault/fault2.def"
     
    138140        }
    139141       
     142        log_init("tester", LVL_NOTE);
     143
    140144        test_quiet = false;
    141145        test_argc = argc - 2;
  • uspace/app/tester/tester.h

    r1f2dd20 rf47c70d4  
    8888extern const char *test_stdio1(void);
    8989extern const char *test_stdio2(void);
     90extern const char *test_logger1(void);
    9091extern const char *test_fault1(void);
    9192extern const char *test_fault2(void);
Note: See TracChangeset for help on using the changeset viewer.