source: rtems/testsuites/sptests/spcoverage/init.c @ c8ce082

4.104.115
Last change on this file since c8ce082 was c8ce082, checked in by Joel Sherrill <joel.sherrill@…>, on 08/11/09 at 17:53:09

2009-08-11 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, configure.ac, sp62/init.c, sp64/init.c: Add new test and adjust existing for alignment. New test ensures coverage begin and end marker methods are exercised so they do not get considered unexecuted.
  • spcoverage/.cvsignore, spcoverage/Makefile.am, spcoverage/init.c, spcoverage/spcoverage.doc, spcoverage/spcoverage.scn: New files.
  • Property mode set to 100644
File size: 913 bytes
Line 
1/*
2 *  COPYRIGHT (c) 1989-2009.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 *
9 *  $Id$
10 */
11
12#include "tmacros.h"
13
14rtems_task Init(
15  rtems_task_argument ignored
16)
17{
18  puts( "\n\n*** TEST COVERAGE MARKERS ***" );
19
20  puts( "Init - If coverage enabled, call coverage marker methods" );
21  #if defined(RTEMS_COVERAGE)
22    start_coverage();
23    end_coverage();
24  #endif
25
26  puts( "*** END OF TEST COVERAGE MARKERS ***" );
27  rtems_test_exit(0);
28}
29
30/* configuration information */
31
32#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
33#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
34
35#define CONFIGURE_MAXIMUM_TASKS         1
36#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
37
38#define CONFIGURE_INIT
39#include <rtems/confdefs.h>
40
41/* global variables */
Note: See TracBrowser for help on using the repository browser.