summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp10
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/sptests/sp10
parentDelete _Region_Debug_Walk() (diff)
downloadrtems-8054b1c7181b7c36e413ce15b686f99d06f4a7d2.tar.bz2
Remove <rtems/debug.h>
Close #2477.
Diffstat (limited to 'testsuites/sptests/sp10')
-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
4 files changed, 0 insertions, 120 deletions
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 ***