summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-24 11:09:23 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-24 11:11:21 +0200
commit39046f766f170748acdb7f55f79a681a09552698 (patch)
tree9165005f4b957b65bfc4bcc7afc10381b8809af4 /testsuites
parentlibtests/malloctest: Fixes for RTEMS_DEBUG (diff)
downloadrtems-39046f766f170748acdb7f55f79a681a09552698.tar.bz2
score: Merge sysstate API into one file
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/libtests/heapwalk/init.c1
-rw-r--r--testsuites/sptests/sp08/init.c2
-rw-r--r--testsuites/sptests/spfatal23/testcase.h3
3 files changed, 5 insertions, 1 deletions
diff --git a/testsuites/libtests/heapwalk/init.c b/testsuites/libtests/heapwalk/init.c
index 4e0142839d..f00b9b86ae 100644
--- a/testsuites/libtests/heapwalk/init.c
+++ b/testsuites/libtests/heapwalk/init.c
@@ -23,6 +23,7 @@
#include <errno.h>
#include <string.h>
#include <rtems/score/heapimpl.h>
+#include <rtems/score/sysstate.h>
#include <rtems/dumpbuf.h>
#define TEST_HEAP_SIZE 1024
diff --git a/testsuites/sptests/sp08/init.c b/testsuites/sptests/sp08/init.c
index 48ec913f68..ddb55a94ab 100644
--- a/testsuites/sptests/sp08/init.c
+++ b/testsuites/sptests/sp08/init.c
@@ -13,6 +13,8 @@
#include <tmacros.h>
+#include <rtems/score/sysstate.h>
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
diff --git a/testsuites/sptests/spfatal23/testcase.h b/testsuites/sptests/spfatal23/testcase.h
index 4eb5650cd6..28010e1cc1 100644
--- a/testsuites/sptests/spfatal23/testcase.h
+++ b/testsuites/sptests/spfatal23/testcase.h
@@ -7,7 +7,8 @@
* http://www.rtems.com/license/LICENSE.
*/
-#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__
+#include <rtems/score/sysstate.h>
+
#define FATAL_ERROR_TEST_NAME "SHUTDOWN WHEN NOT UP"
#define FATAL_ERROR_DESCRIPTION "SHUTDOWN WHEN NOT UP"
#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_CORE