5
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2013 embedded brains GmbH. All rights reserved. |
---|
3 | * |
---|
4 | * embedded brains GmbH |
---|
5 | * Dornierstr. 4 |
---|
6 | * 82178 Puchheim |
---|
7 | * Germany |
---|
8 | * <rtems@embedded-brains.de> |
---|
9 | * |
---|
10 | * The license and distribution terms for this file may be |
---|
11 | * found in the file LICENSE in this distribution or at |
---|
12 | * http://www.rtems.org/license/LICENSE. |
---|
13 | */ |
---|
14 | |
---|
15 | #ifdef HAVE_CONFIG_H |
---|
16 | #include "config.h" |
---|
17 | #endif |
---|
18 | |
---|
19 | #include <rtems/bdbuf.h> |
---|
20 | |
---|
21 | #include "tmacros.h" |
---|
22 | |
---|
23 | const char rtems_test_name[] = "BLOCK 17"; |
---|
24 | |
---|
25 | static void test(void) |
---|
26 | { |
---|
27 | rtems_status_code sc = rtems_bdbuf_init(); |
---|
28 | rtems_test_assert(sc == RTEMS_INVALID_NUMBER); |
---|
29 | } |
---|
30 | |
---|
31 | static void Init(rtems_task_argument arg) |
---|
32 | { |
---|
33 | TEST_BEGIN(); |
---|
34 | |
---|
35 | test(); |
---|
36 | |
---|
37 | TEST_END(); |
---|
38 | |
---|
39 | rtems_test_exit(0); |
---|
40 | } |
---|
41 | |
---|
42 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
43 | #define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER |
---|
44 | |
---|
45 | #define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK |
---|
46 | #define CONFIGURE_BDBUF_MAX_READ_AHEAD_BLOCKS (64UL * 1024UL) |
---|
47 | |
---|
48 | #define CONFIGURE_MAXIMUM_TASKS 1 |
---|
49 | |
---|
50 | #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION |
---|
51 | |
---|
52 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
53 | |
---|
54 | #define CONFIGURE_INIT |
---|
55 | |
---|
56 | #include <rtems/confdefs.h> |
---|
Note: See
TracBrowser
for help on using the repository browser.