summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-11-26 14:08:56 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-12-07 13:11:07 +0100
commit8054b1c7181b7c36e413ce15b686f99d06f4a7d2 (patch)
treef2cc84b1f4014dc7d29c0375dfe8408ec3e81b69 /testsuites
parentDelete _Region_Debug_Walk() (diff)
downloadrtems-8054b1c7181b7c36e413ce15b686f99d06f4a7d2.tar.bz2
Remove <rtems/debug.h>
Close #2477.
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/Makefile.am2
-rw-r--r--testsuites/sptests/configure.ac1
-rw-r--r--testsuites/sptests/sp10/Makefile.am22
-rw-r--r--testsuites/sptests/sp10/init.c69
-rw-r--r--testsuites/sptests/sp10/sp10.doc21
-rw-r--r--testsuites/sptests/sp10/sp10.scn8
-rw-r--r--testsuites/sptests/spregion_err01/init.c6
-rw-r--r--testsuites/sptests/spsize/size.c2
8 files changed, 1 insertions, 130 deletions
diff --git a/testsuites/sptests/Makefile.am b/testsuites/sptests/Makefile.am
index 688c66f97d..54b8555533 100644
--- a/testsuites/sptests/Makefile.am
+++ b/testsuites/sptests/Makefile.am
@@ -4,7 +4,7 @@ ACLOCAL_AMFLAGS = -I ../aclocal
## deleted over the years.
_SUBDIRS = \
sp01 sp02 sp03 sp04 sp05 sp06 sp07 sp08 \
- sp10 sp11 sp12 sp13 sp14 sp15 sp16 sp17 sp18 sp19 \
+ sp11 sp12 sp13 sp14 sp15 sp16 sp17 sp18 sp19 \
sp20 sp21 sp22 sp23 sp24 sp25 sp26 sp27 sp27a \
sp30 sp31 sp32 sp33 sp34 sp35 sp37 sp38 \
sp40 sp41 sp42 sp43 sp44 sp45 sp46 sp47 sp48 sp49 \
diff --git a/testsuites/sptests/configure.ac b/testsuites/sptests/configure.ac
index ea96dbf9da..e6c51b4f52 100644
--- a/testsuites/sptests/configure.ac
+++ b/testsuites/sptests/configure.ac
@@ -85,7 +85,6 @@ sp05/Makefile
sp06/Makefile
sp07/Makefile
sp08/Makefile
-sp10/Makefile
sp11/Makefile
sp12/Makefile
sp13/Makefile
diff --git a/testsuites/sptests/sp10/Makefile.am b/testsuites/sptests/sp10/Makefile.am
deleted file mode 100644
index a6f2f107af..0000000000
--- a/testsuites/sptests/sp10/Makefile.am
+++ /dev/null
@@ -1,22 +0,0 @@
-
-rtems_tests_PROGRAMS = sp10
-sp10_SOURCES = init.c
-
-dist_rtems_tests_DATA = sp10.scn
-dist_rtems_tests_DATA += sp10.doc
-
-include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
-include $(top_srcdir)/../automake/compile.am
-include $(top_srcdir)/../automake/leaf.am
-
-
-AM_CPPFLAGS += -I$(top_srcdir)/../support/include
-
-LINK_OBJS = $(sp10_OBJECTS)
-LINK_LIBS = $(sp10_LDLIBS)
-
-sp10$(EXEEXT): $(sp10_OBJECTS) $(sp10_DEPENDENCIES)
- @rm -f sp10$(EXEEXT)
- $(make-exe)
-
-include $(top_srcdir)/../automake/local.am
diff --git a/testsuites/sptests/sp10/init.c b/testsuites/sptests/sp10/init.c
deleted file mode 100644
index c11172c34d..0000000000
--- a/testsuites/sptests/sp10/init.c
+++ /dev/null
@@ -1,69 +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[] = "SP 10";
-
-/* forward declarations to avoid warnings */
-rtems_task Init(rtems_task_argument argument);
-
-rtems_task Init(
- rtems_task_argument ignored
-)
-{
- bool is_set;
-
- TEST_BEGIN();
-
- puts( "Init - clear debug level" );
- _Debug_Level = 0;
-
- puts( "Init - rtems_debug_is_enabled - is 0x1 set? No" );
- is_set = rtems_debug_is_enabled( 0x1 );
- rtems_test_assert(is_set == false);
-
- puts( "Init - rtems_debug_enable - set 0x1" );
- rtems_debug_enable(0x1);
- rtems_test_assert(_Debug_Level == 0x1);
-
- puts( "Init - rtems_debug_is_enabled - is 0x1 set? Yes" );
- is_set = rtems_debug_is_enabled( 0x1 );
- rtems_test_assert(is_set == true);
-
- puts( "Init - rtems_debug_disable - clear 0x1" );
- rtems_debug_disable(0x1);
- rtems_test_assert(_Debug_Level == 0x0);
-
- puts( "Init - rtems_debug_is_enabled - is 0x1 set? No" );
- is_set = rtems_debug_is_enabled( 0x1 );
- rtems_test_assert(is_set == false);
-
- TEST_END();
- rtems_test_exit(0);
-}
-
-/* configuration information */
-
-#define CONFIGURE_APPLICATION_NEEDS_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/sp10/sp10.doc b/testsuites/sptests/sp10/sp10.doc
deleted file mode 100644
index f8af0f73aa..0000000000
--- a/testsuites/sptests/sp10/sp10.doc
+++ /dev/null
@@ -1,21 +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: sp10
-
-directives:
-
- rtems_debug_enable
- rtems_debug_disable
- rtems_debug_is_enabled
-
-concepts:
-
-+ Exercise the Debug Manager.
diff --git a/testsuites/sptests/sp10/sp10.scn b/testsuites/sptests/sp10/sp10.scn
deleted file mode 100644
index 368743407f..0000000000
--- a/testsuites/sptests/sp10/sp10.scn
+++ /dev/null
@@ -1,8 +0,0 @@
-*** TEST 10 ***
-Init - clear debug level
-Init - rtems_debug_is_enabled - is 0x1 set? No
-Init - rtems_debug_enable - set 0x1
-Init - rtems_debug_is_enabled - is 0x1 set? Yes
-Init - rtems_debug_disable - clear 0x1
-Init - rtems_debug_is_enabled - is 0x1 set? No
-*** END OF TEST 10 ***
diff --git a/testsuites/sptests/spregion_err01/init.c b/testsuites/sptests/spregion_err01/init.c
index 62ad6e1d64..6dd8db63cf 100644
--- a/testsuites/sptests/spregion_err01/init.c
+++ b/testsuites/sptests/spregion_err01/init.c
@@ -402,12 +402,6 @@ void region_error_tests(void)
* is subject to change if the heap code changes.
*/
- puts( "TA1 - rtems_debug_disable - RTEMS_DEBUG_REGION" );
- rtems_debug_disable( RTEMS_DEBUG_REGION );
-
- puts( "TA1 - rtems_debug_enable - RTEMS_DEBUG_REGION" );
- rtems_debug_enable( RTEMS_DEBUG_REGION );
-
status = rtems_region_extend(
100,
Region_good_area,
diff --git a/testsuites/sptests/spsize/size.c b/testsuites/sptests/spsize/size.c
index 657fa425de..660760a009 100644
--- a/testsuites/sptests/spsize/size.c
+++ b/testsuites/sptests/spsize/size.c
@@ -264,8 +264,6 @@ uninitialized =
/*copyrt.h*/ 0 +
-/*debug.h*/ (sizeof _Debug_Level) +
-
/*dpmemimpl.h*/ (sizeof _Dual_ported_memory_Information) +
#if defined(RTEMS_MULTIPROCESSING)