From aeaf6234f427607046ed3f9eea2566c372ac0470 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 14 Jul 2021 15:00:12 +0200 Subject: 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. --- testsuites/sptests/Makefile.am | 9 ----- testsuites/sptests/configure.ac | 1 - testsuites/sptests/spcoverage/init.c | 50 ---------------------------- testsuites/sptests/spcoverage/spcoverage.doc | 22 ------------ testsuites/sptests/spcoverage/spcoverage.scn | 3 -- 5 files changed, 85 deletions(-) delete mode 100644 testsuites/sptests/spcoverage/init.c delete mode 100644 testsuites/sptests/spcoverage/spcoverage.doc delete mode 100644 testsuites/sptests/spcoverage/spcoverage.scn (limited to 'testsuites/sptests') 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 - -/* 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 *** -- cgit v1.2.3