4.104.115
Last change
on this file since d5ae827 was
cf7267cf,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/06/09 at 13:43:17
|
2009-07-06 Joel Sherrill <joel.sherrill@…>
- Makefile.am, configure.ac, spfatal11/init.c: Add test of cannot
initialize workspace heap during initialize. Can be caused by
unaligned address or not enough memory to initialize heap required
overhead.
- spfatal12/.cvsignore, spfatal12/Makefile.am, spfatal12/init.c,
spfatal12/spfatal12.doc, spfatal12/spfatal12.scn: New files.
|
-
Property mode set to
100644
|
File size:
870 bytes
|
Line | |
---|
1 | /* Test __assert_func with NULL function name |
---|
2 | * |
---|
3 | * COPYRIGHT (c) 1989-2009. |
---|
4 | * On-Line Applications Research Corporation (OAR). |
---|
5 | * |
---|
6 | * The license and distribution terms for this file may be |
---|
7 | * found in the file LICENSE in this distribution or at |
---|
8 | * http://www.rtems.com/license/LICENSE. |
---|
9 | * |
---|
10 | * $Id$ |
---|
11 | */ |
---|
12 | |
---|
13 | #include <tmacros.h> |
---|
14 | #undef NDEBUG |
---|
15 | #include <assert.h> |
---|
16 | |
---|
17 | rtems_task Init( |
---|
18 | rtems_task_argument ignored |
---|
19 | ) |
---|
20 | { |
---|
21 | puts( "\n\n*** TEST FATAL 11 ***" ); |
---|
22 | |
---|
23 | puts( "asserting with non-NULL strings..." ); |
---|
24 | __assert_func( __FILE__, __LINE__, NULL, "forced" ); |
---|
25 | } |
---|
26 | |
---|
27 | /* configuration information */ |
---|
28 | |
---|
29 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
30 | #define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER |
---|
31 | |
---|
32 | #define CONFIGURE_MAXIMUM_TASKS 1 |
---|
33 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
34 | |
---|
35 | #define CONFIGURE_INIT |
---|
36 | #include <rtems/confdefs.h> |
---|
37 | |
---|
38 | /* global variables */ |
---|
Note: See
TracBrowser
for help on using the repository browser.