source: rtems/c/src/tests/sptests/sp09/task1.c @ ba39113

4.104.114.84.95
Last change on this file since ba39113 was ba39113, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 22, 1996 at 8:14:36 PM

The name of the test support routine pause was changed to rtems_test_pause
to avoid conflict with the standard POSIX routine pause(2).

  • Property mode set to 100644
File size: 1.4 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, 1990, 1991, 1992, 1993, 1994.
11 *  On-Line Applications Research Corporation (OAR).
12 *  All rights assigned to U.S. Government, 1994.
13 *
14 *  This material may be reproduced by or for the U.S. Government pursuant
15 *  to the copyright license under the clause at DFARS 252.227-7013.  This
16 *  notice must appear in all copies of this file and its derivatives.
17 *
18 *  $Id$
19 */
20
21#include "system.h"
22
23rtems_task Task_1(
24  rtems_task_argument argument
25)
26{
27  Screen1();
28  rtems_test_pause_and_screen_number( 2 );
29
30  Screen2();
31  rtems_test_pause_and_screen_number( 3 );
32
33  Screen3();
34  rtems_test_pause_and_screen_number( 4 );
35
36  Screen4();
37  rtems_test_pause_and_screen_number( 5 );
38
39  Screen5();
40  rtems_test_pause_and_screen_number( 6 );
41
42  Screen6();
43  rtems_test_pause_and_screen_number( 7 );
44
45  Screen7();
46  rtems_test_pause_and_screen_number( 8 );
47
48  Screen8();
49  rtems_test_pause_and_screen_number( 9 );
50
51  Screen9();
52  rtems_test_pause_and_screen_number( 10 );
53
54  Screen10();
55  rtems_test_pause_and_screen_number( 11 );
56
57  Screen11();
58  rtems_test_pause_and_screen_number( 12 );
59
60  Screen12();
61  rtems_test_pause_and_screen_number( 13 );
62
63  Screen13();
64  rtems_test_pause_and_screen_number( 14 );
65
66  Screen14();
67
68  puts( "*** END OF TEST 9 ***" );
69  exit( 0 );
70}
Note: See TracBrowser for help on using the repository browser.