summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp09/screen03.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sp09/screen03.c')
-rw-r--r--testsuites/sptests/sp09/screen03.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/testsuites/sptests/sp09/screen03.c b/testsuites/sptests/sp09/screen03.c
index 4bc8a5b392..7381bd6cb6 100644
--- a/testsuites/sptests/sp09/screen03.c
+++ b/testsuites/sptests/sp09/screen03.c
@@ -22,6 +22,7 @@ void Screen3()
{
rtems_name task_name;
rtems_status_code status;
+ bool skipUnsatisfied;
task_name = 1;
status = rtems_task_create(
@@ -42,9 +43,19 @@ void Screen3()
/*
* If the bsp provides its own stack allocator, then
* skip the test that tries to allocate a stack that is too big.
+ *
+ * If on the m32c, we can't even ask for enough memory to trip this
+ * error.
*/
- if (rtems_configuration_get_stack_allocate_hook()) {
+ skipUnsatisfied = false;
+ if (rtems_configuration_get_stack_allocate_hook())
+ skipUnsatisfied = true;
+ #if defined(__m32c__)
+ skipUnsatisfied = true;
+ #endif
+
+ if ( skipUnsatisfied ) {
puts(
"TA1 - rtems_task_create - stack size - RTEMS_UNSATISFIED -- SKIPPED"
);