summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-07-14 15:00:12 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-07-15 07:46:22 +0200
commitaeaf6234f427607046ed3f9eea2566c372ac0470 (patch)
tree7d9ffce92fd674c2949efc188b757c575965556b
parent87609bacd323eef1f3f4d6620ce42e7e5309ad10 (diff)
downloadrtems-aeaf6234f427607046ed3f9eea2566c372ac0470.tar.bz2
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.
-rw-r--r--spec/build/testsuites/sptests/grp.yml2
-rw-r--r--spec/build/testsuites/sptests/spcoverage.yml19
-rw-r--r--testsuites/sptests/Makefile.am9
-rw-r--r--testsuites/sptests/configure.ac1
-rw-r--r--testsuites/sptests/spcoverage/init.c50
-rw-r--r--testsuites/sptests/spcoverage/spcoverage.doc22
-rw-r--r--testsuites/sptests/spcoverage/spcoverage.scn3
7 files changed, 0 insertions, 106 deletions
diff --git a/spec/build/testsuites/sptests/grp.yml b/spec/build/testsuites/sptests/grp.yml
index ac2f6626cd..7e7618789c 100644
--- a/spec/build/testsuites/sptests/grp.yml
+++ b/spec/build/testsuites/sptests/grp.yml
@@ -189,8 +189,6 @@ links:
- role: build-dependency
uid: spcontext01
- role: build-dependency
- uid: spcoverage
-- role: build-dependency
uid: spcpucounter01
- role: build-dependency
uid: spcpuset01
diff --git a/spec/build/testsuites/sptests/spcoverage.yml b/spec/build/testsuites/sptests/spcoverage.yml
deleted file mode 100644
index 74705a976e..0000000000
--- a/spec/build/testsuites/sptests/spcoverage.yml
+++ /dev/null
@@ -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: []
diff --git a/testsuites/sptests/Makefile.am b/testsuites/sptests/Makefile.am
index 8a9d968925..07d7ee04e9 100644
--- a/testsuites/sptests/Makefile.am
+++ b/testsuites/sptests/Makefile.am
@@ -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
diff --git a/testsuites/sptests/configure.ac b/testsuites/sptests/configure.ac
index 4ca55e6a36..36d4519da3 100644
--- a/testsuites/sptests/configure.ac
+++ b/testsuites/sptests/configure.ac
@@ -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])
diff --git a/testsuites/sptests/spcoverage/init.c b/testsuites/sptests/spcoverage/init.c
deleted file mode 100644
index 7c8e509d74..0000000000
--- a/testsuites/sptests/spcoverage/init.c
+++ /dev/null
@@ -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 */
diff --git a/testsuites/sptests/spcoverage/spcoverage.doc b/testsuites/sptests/spcoverage/spcoverage.doc
deleted file mode 100644
index 55b605179f..0000000000
--- a/testsuites/sptests/spcoverage/spcoverage.doc
+++ /dev/null
@@ -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.
diff --git a/testsuites/sptests/spcoverage/spcoverage.scn b/testsuites/sptests/spcoverage/spcoverage.scn
deleted file mode 100644
index a65ca5fb74..0000000000
--- a/testsuites/sptests/spcoverage/spcoverage.scn
+++ /dev/null
@@ -1,3 +0,0 @@
-*** TEST COVERAGE MARKERS ***
-Init - If coverage enabled, call coverage marker methods
-*** END OF TEST COVERAGE MARKERS ***