[rtems commit] tests: Use floating point task
Sebastian Huber
sebh at rtems.org
Wed Jul 19 13:56:01 UTC 2017
Module: rtems
Branch: master
Commit: a0271a704bc0d60a52d86b218bb3913ef0e8f635
Changeset: http://git.rtems.org/rtems/commit/?id=a0271a704bc0d60a52d86b218bb3913ef0e8f635
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Jul 19 15:50:57 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/sptests/sp20/init.c | 2 +-
testsuites/sptests/sp20/system.h | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/testsuites/sptests/sp20/init.c b/testsuites/sptests/sp20/init.c
index d3bdab8..9323524 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 cbc926a..b7f1428 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
More information about the vc
mailing list