mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-23 20:52:40 +08:00
spcoverage: Remove test program
This program contained an optional test case. It was enabled by the RTEMS_COVERAGE define. The functions under test are not implemented by RTEMS.
This commit is contained in:
@@ -188,8 +188,6 @@ links:
|
||||
uid: spconsole01
|
||||
- role: build-dependency
|
||||
uid: spcontext01
|
||||
- role: build-dependency
|
||||
uid: spcoverage
|
||||
- role: build-dependency
|
||||
uid: spcpucounter01
|
||||
- role: build-dependency
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
|
||||
build-type: test-program
|
||||
cflags: []
|
||||
copyrights:
|
||||
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
|
||||
cppflags: []
|
||||
cxxflags: []
|
||||
enabled-by: true
|
||||
features: c cprogram
|
||||
includes: []
|
||||
ldflags: []
|
||||
links: []
|
||||
source:
|
||||
- testsuites/sptests/spcoverage/init.c
|
||||
stlib: []
|
||||
target: testsuites/sptests/spcoverage.exe
|
||||
type: build
|
||||
use-after: []
|
||||
use-before: []
|
||||
@@ -753,15 +753,6 @@ spcontext01_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcontext01) \
|
||||
$(support_includes)
|
||||
endif
|
||||
|
||||
if TEST_spcoverage
|
||||
sp_tests += spcoverage
|
||||
sp_screens += spcoverage/spcoverage.scn
|
||||
sp_docs += spcoverage/spcoverage.doc
|
||||
spcoverage_SOURCES = spcoverage/init.c
|
||||
spcoverage_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spcoverage) \
|
||||
$(support_includes) -I$(top_srcdir)/include
|
||||
endif
|
||||
|
||||
if TEST_spcpucounter01
|
||||
sp_tests += spcpucounter01
|
||||
sp_screens += spcpucounter01/spcpucounter01.scn
|
||||
|
||||
@@ -121,7 +121,6 @@ RTEMS_TEST_CHECK([spconfig01])
|
||||
RTEMS_TEST_CHECK([spconfig02])
|
||||
RTEMS_TEST_CHECK([spconsole01])
|
||||
RTEMS_TEST_CHECK([spcontext01])
|
||||
RTEMS_TEST_CHECK([spcoverage])
|
||||
RTEMS_TEST_CHECK([spcpucounter01])
|
||||
RTEMS_TEST_CHECK([spcpuset01])
|
||||
RTEMS_TEST_CHECK([spcxx01])
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
/*
|
||||
* COPYRIGHT (c) 1989-2012.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
* found in the file LICENSE in this distribution or at
|
||||
* http://www.rtems.org/license/LICENSE.
|
||||
*/
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include "tmacros.h"
|
||||
|
||||
const char rtems_test_name[] = "SPCOVERAGE";
|
||||
|
||||
/* forward declarations to avoid warnings */
|
||||
rtems_task Init(rtems_task_argument argument);
|
||||
|
||||
rtems_task Init(
|
||||
rtems_task_argument ignored
|
||||
)
|
||||
{
|
||||
TEST_BEGIN();
|
||||
|
||||
puts( "Init - If coverage enabled, call coverage marker methods" );
|
||||
#if defined(RTEMS_COVERAGE)
|
||||
start_coverage();
|
||||
end_coverage();
|
||||
#endif
|
||||
|
||||
TEST_END();
|
||||
rtems_test_exit(0);
|
||||
}
|
||||
|
||||
/* configuration information */
|
||||
|
||||
#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
|
||||
#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
|
||||
|
||||
#define CONFIGURE_MAXIMUM_TASKS 1
|
||||
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
|
||||
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
|
||||
#define CONFIGURE_INIT
|
||||
#include <rtems/confdefs.h>
|
||||
|
||||
/* global variables */
|
||||
@@ -1,22 +0,0 @@
|
||||
# COPYRIGHT (c) 1989-2009.
|
||||
# On-Line Applications Research Corporation (OAR).
|
||||
#
|
||||
# The license and distribution terms for this file may be
|
||||
# found in the file LICENSE in this distribution or at
|
||||
# http://www.rtems.org/license/LICENSE.
|
||||
#
|
||||
|
||||
This file describes the directives and concepts tested by this test set.
|
||||
|
||||
test set name: spcoverage
|
||||
|
||||
directives:
|
||||
|
||||
start_coverage
|
||||
end_coverage
|
||||
|
||||
|
||||
concepts:
|
||||
|
||||
+ Ensure that the special empty methods used to mark the beginning and
|
||||
end of the code being coverage tested is executed also.
|
||||
@@ -1,3 +0,0 @@
|
||||
*** TEST COVERAGE MARKERS ***
|
||||
Init - If coverage enabled, call coverage marker methods
|
||||
*** END OF TEST COVERAGE MARKERS ***
|
||||
Reference in New Issue
Block a user