summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sptls01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sptls01/init.c')
-rw-r--r--testsuites/sptests/sptls01/init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuites/sptests/sptls01/init.c b/testsuites/sptests/sptls01/init.c
index efd0fb4c6c..64860ec9c9 100644
--- a/testsuites/sptests/sptls01/init.c
+++ b/testsuites/sptests/sptls01/init.c
@@ -30,6 +30,7 @@
#endif
#include <rtems/bspIo.h>
+#include <rtems/stackchk.h>
#include <rtems/sysinit.h>
#include "tmacros.h"
@@ -109,6 +110,7 @@ static void Init(rtems_task_argument arg)
{
test();
+ rtems_test_assert(!rtems_stack_checker_is_blown());
TEST_END();
rtems_test_exit(0);
@@ -123,6 +125,8 @@ RTEMS_SYSINIT_ITEM(
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_SIMPLE_CONSOLE_DRIVER
+#define CONFIGURE_STACK_CHECKER_ENABLED
+
#define CONFIGURE_MAXIMUM_TASKS 2
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION