[rtems commit] tests: Use floating point task
Sebastian Huber
sebh at rtems.org
Wed Jul 19 09:57:24 UTC 2017
Module: rtems
Branch: master
Commit: 6f46848079cc582a0bf4da58905e7d4e67fd92aa
Changeset: http://git.rtems.org/rtems/commit/?id=6f46848079cc582a0bf4da58905e7d4e67fd92aa
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Jul 19 11:57:01 2017 +0200
tests: Use floating point task
These tests directly or indirectly use fprintf(), etc. which may use the
floating point unit.
Update #3076.
---
testsuites/libtests/flashdisk01/init.c | 2 ++
testsuites/libtests/ftp01/init.c | 2 ++
testsuites/libtests/monitor02/system.h | 8 +++++---
testsuites/psxtests/psxpipe01/init.c | 2 ++
testsuites/smptests/smpcapture01/init.c | 1 +
5 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/testsuites/libtests/flashdisk01/init.c b/testsuites/libtests/flashdisk01/init.c
index 01b0329..ea1b583 100644
--- a/testsuites/libtests/flashdisk01/init.c
+++ b/testsuites/libtests/flashdisk01/init.c
@@ -354,6 +354,8 @@ uint32_t rtems_flashdisk_configuration_size = FLASHDISK_CONFIG_COUNT;
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
+
#define CONFIGURE_INIT
#include <rtems/confdefs.h>
diff --git a/testsuites/libtests/ftp01/init.c b/testsuites/libtests/ftp01/init.c
index 0668e6c..ad166c3 100644
--- a/testsuites/libtests/ftp01/init.c
+++ b/testsuites/libtests/ftp01/init.c
@@ -249,4 +249,6 @@ static rtems_task Init(rtems_task_argument argument)
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
+
#include <rtems/confdefs.h>
diff --git a/testsuites/libtests/monitor02/system.h b/testsuites/libtests/monitor02/system.h
index f9aebdd..f863c91 100644
--- a/testsuites/libtests/monitor02/system.h
+++ b/testsuites/libtests/monitor02/system.h
@@ -35,16 +35,18 @@ void Get_all_counters( void );
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
+#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
#define CONFIGURE_MAXIMUM_TASKS 7
#define CONFIGURE_MAXIMUM_PERIODS 10
-#define CONFIGURE_INIT_TASK_PRIORITY 10
-#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
-#define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
+
+#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_EXTRA_TASK_STACKS \
(6 * (3 * RTEMS_MINIMUM_STACK_SIZE)) /* our tasks */ + \
diff --git a/testsuites/psxtests/psxpipe01/init.c b/testsuites/psxtests/psxpipe01/init.c
index 5dc4909..7066f6c 100644
--- a/testsuites/psxtests/psxpipe01/init.c
+++ b/testsuites/psxtests/psxpipe01/init.c
@@ -109,6 +109,8 @@ rtems_task Init(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
+
#define CONFIGURE_MAXIMUM_PIPES 2
#define CONFIGURE_INIT
diff --git a/testsuites/smptests/smpcapture01/init.c b/testsuites/smptests/smpcapture01/init.c
index aae94e1..2818b91 100644
--- a/testsuites/smptests/smpcapture01/init.c
+++ b/testsuites/smptests/smpcapture01/init.c
@@ -258,6 +258,7 @@ static void Init(rtems_task_argument arg)
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_PRIORITY 7
+#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
#define TASK_ALLOCATION_SIZE (5)
#define CONFIGURE_MAXIMUM_TASKS rtems_resource_unlimited(TASK_ALLOCATION_SIZE)
More information about the vc
mailing list