source:
rtems/testsuites/sptests/sp09/task1.c
@
7b5f6643
Last change on this file since 7b5f6643 was 7b5f6643, checked in by Chirayu Desai <cdesai@…>, on 12/24/13 at 13:32:37 | |
---|---|
|
|
File size: 1.2 KB |
Rev | Line | |
---|---|---|
[ac7d5ef0] | 1 | /* Task_1 |
2 | * | |
3 | * This task generates all possible errors for the RTEMS executive. | |
4 | * | |
5 | * Input parameters: | |
6 | * argument - task argument | |
7 | * | |
8 | * Output parameters: NONE | |
9 | * | |
[08311cc3] | 10 | * COPYRIGHT (c) 1989-1999. |
[ac7d5ef0] | 11 | * On-Line Applications Research Corporation (OAR). |
12 | * | |
[98e4ebf5] | 13 | * The license and distribution terms for this file may be |
14 | * found in the file LICENSE in this distribution or at | |
[d2b93bfd] | 15 | * http://www.rtems.com/license/LICENSE. |
[ac7d5ef0] | 16 | */ |
17 | ||
[7d3f9c6] | 18 | #ifdef HAVE_CONFIG_H |
19 | #include "config.h" | |
20 | #endif | |
21 | ||
[ac7d5ef0] | 22 | #include "system.h" |
23 | ||
24 | rtems_task Task_1( | |
25 | rtems_task_argument argument | |
26 | ) | |
27 | { | |
28 | Screen1(); | |
[ba39113] | 29 | rtems_test_pause_and_screen_number( 2 ); |
[ac7d5ef0] | 30 | |
31 | Screen2(); | |
[ba39113] | 32 | rtems_test_pause_and_screen_number( 3 ); |
[ac7d5ef0] | 33 | |
34 | Screen3(); | |
[ba39113] | 35 | rtems_test_pause_and_screen_number( 4 ); |
[ac7d5ef0] | 36 | |
37 | Screen4(); | |
[ba39113] | 38 | rtems_test_pause_and_screen_number( 5 ); |
[ac7d5ef0] | 39 | |
40 | Screen5(); | |
[ba39113] | 41 | rtems_test_pause_and_screen_number( 6 ); |
[ac7d5ef0] | 42 | |
43 | Screen6(); | |
[ba39113] | 44 | rtems_test_pause_and_screen_number( 7 ); |
[ac7d5ef0] | 45 | |
46 | Screen7(); | |
[ba39113] | 47 | rtems_test_pause_and_screen_number( 8 ); |
[ac7d5ef0] | 48 | |
49 | Screen8(); | |
[ba39113] | 50 | rtems_test_pause_and_screen_number( 9 ); |
[ac7d5ef0] | 51 | |
52 | Screen9(); | |
[ba39113] | 53 | rtems_test_pause_and_screen_number( 10 ); |
[ac7d5ef0] | 54 | |
55 | Screen10(); | |
[ba39113] | 56 | rtems_test_pause_and_screen_number( 11 ); |
[ac7d5ef0] | 57 | |
58 | Screen11(); | |
[ba39113] | 59 | rtems_test_pause_and_screen_number( 12 ); |
[ac7d5ef0] | 60 | |
61 | Screen12(); | |
62 | ||
63 | puts( "*** END OF TEST 9 ***" ); | |
[3aa4c2e0] | 64 | rtems_test_exit( 0 ); |
[ac7d5ef0] | 65 | } |
Note: See TracBrowser
for help on using the repository browser.