source: rtems/testsuites/sptests/sp09/task1.c @ 7b5f6643

4.11
Last change on this file since 7b5f6643 was 7b5f6643, checked in by Chirayu Desai <cdesai@…>, on Dec 24, 2013 at 1:32:37 PM

sptests: refactor sp09/screen13 into a new test spclock_err02

  • Property mode set to 100644
File size: 1.2 KB
Line 
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 *
10 *  COPYRIGHT (c) 1989-1999.
11 *  On-Line Applications Research Corporation (OAR).
12 *
13 *  The license and distribution terms for this file may be
14 *  found in the file LICENSE in this distribution or at
15 *  http://www.rtems.com/license/LICENSE.
16 */
17
18#ifdef HAVE_CONFIG_H
19#include "config.h"
20#endif
21
22#include "system.h"
23
24rtems_task Task_1(
25  rtems_task_argument argument
26)
27{
28  Screen1();
29  rtems_test_pause_and_screen_number( 2 );
30
31  Screen2();
32  rtems_test_pause_and_screen_number( 3 );
33
34  Screen3();
35  rtems_test_pause_and_screen_number( 4 );
36
37  Screen4();
38  rtems_test_pause_and_screen_number( 5 );
39
40  Screen5();
41  rtems_test_pause_and_screen_number( 6 );
42
43  Screen6();
44  rtems_test_pause_and_screen_number( 7 );
45
46  Screen7();
47  rtems_test_pause_and_screen_number( 8 );
48
49  Screen8();
50  rtems_test_pause_and_screen_number( 9 );
51
52  Screen9();
53  rtems_test_pause_and_screen_number( 10 );
54
55  Screen10();
56  rtems_test_pause_and_screen_number( 11 );
57
58  Screen11();
59  rtems_test_pause_and_screen_number( 12 );
60
61  Screen12();
62
63  puts( "*** END OF TEST 9 ***" );
64  rtems_test_exit( 0 );
65}
Note: See TracBrowser for help on using the repository browser.