4.104.115
Last change
on this file since 40b905cc was
40b905cc,
checked in by Joel Sherrill <joel.sherrill@…>, on 06/24/09 at 22:02:11
|
2009-06-24 Joel Sherrill <joel.sherrill@…>
- spfatal10/.cvsignore, spfatal10/Makefile.am, spfatal10/init.c,
spfatal10/spfatal10.doc, spfatal10/spfatal10.scn: New files.
|
-
Property mode set to
100644
|
File size:
865 bytes
|
Line | |
---|
1 | /* Test __assert with 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 10 ***" ); |
---|
22 | |
---|
23 | puts( "asserting with non-NULL strings...\n" ); |
---|
24 | __assert_func( __FILE__, __LINE__, "Init", "forced" ); |
---|
25 | |
---|
26 | } |
---|
27 | |
---|
28 | /* configuration information */ |
---|
29 | |
---|
30 | #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER |
---|
31 | #define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER |
---|
32 | |
---|
33 | #define CONFIGURE_MAXIMUM_TASKS 1 |
---|
34 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
35 | |
---|
36 | #define CONFIGURE_INIT |
---|
37 | #include <rtems/confdefs.h> |
---|
38 | |
---|
39 | /* global variables */ |
---|
Note: See
TracBrowser
for help on using the repository browser.