Changeset 0864122 in mainline


Ignore:
Timestamp:
2011-03-30T14:36:33Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bdbb6f6
Parents:
e72fb34
Message:

Add devman test for device handle retrieval

The test verifies that handles retrieved by different means are the same.
The first handle is retrieved through normal name, the second one through
class name.

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

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/Makefile

    re72fb34 r0864122  
    4949        loop/loop1.c \
    5050        mm/malloc1.c \
     51        devs/devman1.c \
    5152        hw/misc/virtchar1.c \
    5253        hw/serial/serial1.c
  • uspace/app/tester/tester.c

    re72fb34 r0864122  
    6464#include "hw/serial/serial1.def"
    6565#include "hw/misc/virtchar1.def"
     66#include "devs/devman1.def"
    6667        {NULL, NULL, NULL, false}
    6768};
  • uspace/app/tester/tester.h

    re72fb34 r0864122  
    8080extern const char *test_serial1(void);
    8181extern const char *test_virtchar1(void);
     82extern const char *test_devman1(void);
    8283
    8384extern test_t tests[];
Note: See TracChangeset for help on using the changeset viewer.