summaryrefslogtreecommitdiffstats
path: root/testsuites/samples
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-07-18 13:07:26 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-07-18 14:14:34 +0200
commit07e178005a63cbbe3a634dda080a7f7976cbd294 (patch)
tree97ed9982c2efc7cada0fd5365f8c6ba5c2168e27 /testsuites/samples
parentdumpbuf: Simplify rtems_print_buffer() (diff)
downloadrtems-07e178005a63cbbe3a634dda080a7f7976cbd294.tar.bz2
tests: Use floating point task
These tests directly or indirectly use fprintf(), etc. which may use the floating point unit. Update #3076.
Diffstat (limited to 'testsuites/samples')
-rw-r--r--testsuites/samples/capture/system.h2
-rw-r--r--testsuites/samples/cdtest/system.h1
-rw-r--r--testsuites/samples/hello/init.c2
-rw-r--r--testsuites/samples/loopback/init.c1
-rw-r--r--testsuites/samples/pppd/system.h3
5 files changed, 9 insertions, 0 deletions
diff --git a/testsuites/samples/capture/system.h b/testsuites/samples/capture/system.h
index 533b0028e0..d6d8b804a3 100644
--- a/testsuites/samples/capture/system.h
+++ b/testsuites/samples/capture/system.h
@@ -44,6 +44,8 @@ extern void setup_tasks_to_watch(void);
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
+
#define TASK_ALLOCATION_SIZE (5)
#define CONFIGURE_MAXIMUM_TASKS rtems_resource_unlimited(TASK_ALLOCATION_SIZE)
#define CONFIGURE_EXTRA_TASK_STACKS (75 * RTEMS_MINIMUM_STACK_SIZE)
diff --git a/testsuites/samples/cdtest/system.h b/testsuites/samples/cdtest/system.h
index 1c89666dad..f006552d56 100644
--- a/testsuites/samples/cdtest/system.h
+++ b/testsuites/samples/cdtest/system.h
@@ -33,6 +33,7 @@ rtems_task main_task(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT_TASK_ENTRY_POINT main_task
#define CONFIGURE_INIT_TASK_NAME rtems_build_name( 'C', 'T', 'O', 'R' )
+#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
diff --git a/testsuites/samples/hello/init.c b/testsuites/samples/hello/init.c
index a2d6c304ca..5460da9f9e 100644
--- a/testsuites/samples/hello/init.c
+++ b/testsuites/samples/hello/init.c
@@ -45,6 +45,8 @@ rtems_task Init(
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
+
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
#define CONFIGURE_INIT
diff --git a/testsuites/samples/loopback/init.c b/testsuites/samples/loopback/init.c
index a6ef08bc27..6c6a6148aa 100644
--- a/testsuites/samples/loopback/init.c
+++ b/testsuites/samples/loopback/init.c
@@ -33,6 +33,7 @@ rtems_printer rtems_test_printer;
RTEMS_NO_TIMESLICE | \
RTEMS_NO_ASR | \
RTEMS_INTERRUPT_LEVEL(0))
+#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
#define CONFIGURE_INIT
rtems_task Init(rtems_task_argument argument);
diff --git a/testsuites/samples/pppd/system.h b/testsuites/samples/pppd/system.h
index 812a5a23ad..f671cdbb83 100644
--- a/testsuites/samples/pppd/system.h
+++ b/testsuites/samples/pppd/system.h
@@ -26,6 +26,9 @@ extern int pppdapp_initialize(void);
TTY1_DRIVER_TABLE_ENTRY, TTY2_DRIVER_TABLE_ENTRY
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT
+
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 8
#define CONFIGURE_EXECUTIVE_RAM_SIZE (512*1024)