summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-07-19 15:50:57 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-07-19 15:55:43 +0200
commita0271a704bc0d60a52d86b218bb3913ef0e8f635 (patch)
tree4cdb1299f345cdc785cd5f73999068acb7ffa9a3
parentlibchip: Fix format warning (diff)
downloadrtems-a0271a704bc0d60a52d86b218bb3913ef0e8f635.tar.bz2
tests: Use floating point task
These tests directly or indirectly use fprintf(), etc. which may use the floating point unit. Update #3076.
-rw-r--r--testsuites/sptests/sp20/init.c2
-rw-r--r--testsuites/sptests/sp20/system.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/sptests/sp20/init.c b/testsuites/sptests/sp20/init.c
index d3bdab8a4f..932352444f 100644
--- a/testsuites/sptests/sp20/init.c
+++ b/testsuites/sptests/sp20/init.c
@@ -76,7 +76,7 @@ rtems_task Init(
Priorities[ index ],
RTEMS_MINIMUM_STACK_SIZE,
RTEMS_DEFAULT_MODES,
- RTEMS_DEFAULT_ATTRIBUTES,
+ RTEMS_FLOATING_POINT,
&Task_id[ index ]
);
directive_failed( status, "rtems_task_create loop" );
diff --git a/testsuites/sptests/sp20/system.h b/testsuites/sptests/sp20/system.h
index cbc926aa34..b7f1428919 100644
--- a/testsuites/sptests/sp20/system.h
+++ b/testsuites/sptests/sp20/system.h
@@ -43,6 +43,8 @@ void Get_all_counters( void );
#define CONFIGURE_INIT_TASK_PRIORITY 10
#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES
+#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
+
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE