5
Last change
on this file since 3cec2df was
3cec2df,
checked in by Sebastian Huber <sebastian.huber@…>, on 12/17/19 at 08:17:43
|
config: CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS
Rename CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS into
CONFIGURE_MAXIMUM_FILE_DESCRIPTORS.
Update #3753.
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2014 Chris Johns <chrisj@rtems.org>. All rights reserved. |
---|
3 | * |
---|
4 | * The license and distribution terms for this file may be |
---|
5 | * found in the file LICENSE in this distribution or at |
---|
6 | * http://www.rtems.org/license/LICENSE. |
---|
7 | */ |
---|
8 | |
---|
9 | #ifdef HAVE_CONFIG_H |
---|
10 | #include "config.h" |
---|
11 | #endif |
---|
12 | |
---|
13 | #include "tmacros.h" |
---|
14 | |
---|
15 | #include <errno.h> |
---|
16 | #include <string.h> |
---|
17 | #include <stdint.h> |
---|
18 | #include <unistd.h> |
---|
19 | |
---|
20 | #include "dl-cache.h" |
---|
21 | #include "dl-bit-alloc.h" |
---|
22 | |
---|
23 | const char rtems_test_name[] = "libdl (RTL) 3"; |
---|
24 | |
---|
25 | /* forward declarations to avoid warnings */ |
---|
26 | static rtems_task Init(rtems_task_argument argument); |
---|
27 | |
---|
28 | static int test(void) |
---|
29 | { |
---|
30 | int ret; |
---|
31 | ret = dl_cache_test(); |
---|
32 | if (ret) |
---|
33 | rtems_test_exit(ret); |
---|
34 | ret = dl_bit_alloc_test(); |
---|
35 | if (ret) |
---|
36 | rtems_test_exit(ret); |
---|
37 | return 0; |
---|
38 | } |
---|
39 | |
---|
40 | static void Init(rtems_task_argument arg) |
---|
41 | { |
---|
42 | TEST_BEGIN(); |
---|
43 | |
---|
44 | test(); |
---|
45 | |
---|
46 | TEST_END(); |
---|
47 | |
---|
48 | rtems_test_exit(0); |
---|
49 | } |
---|
50 | |
---|
51 | #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER |
---|
52 | #define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER |
---|
53 | |
---|
54 | #define CONFIGURE_MAXIMUM_FILE_DESCRIPTORS 4 |
---|
55 | |
---|
56 | #define CONFIGURE_MAXIMUM_TASKS 1 |
---|
57 | |
---|
58 | #define CONFIGURE_MAXIMUM_SEMAPHORES 1 |
---|
59 | |
---|
60 | #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION |
---|
61 | |
---|
62 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
63 | |
---|
64 | #define CONFIGURE_INIT_TASK_STACK_SIZE (8U * 1024U) |
---|
65 | |
---|
66 | #define CONFIGURE_INIT_TASK_ATTRIBUTES (RTEMS_DEFAULT_ATTRIBUTES | RTEMS_FLOATING_POINT) |
---|
67 | |
---|
68 | #define CONFIGURE_INIT |
---|
69 | |
---|
70 | #include <rtems/confdefs.h> |
---|
Note: See
TracBrowser
for help on using the repository browser.