[rtems commit] sptests/spintrcritical23: Explicity set scheduler

Sebastian Huber sebh at rtems.org
Fri Jun 24 08:30:10 UTC 2016


Module:    rtems
Branch:    master
Commit:    b364d386c9190b16c9064ab3e672c71c994fb6e8
Changeset: http://git.rtems.org/rtems/commit/?id=b364d386c9190b16c9064ab3e672c71c994fb6e8

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Jun 24 08:26:55 2016 +0200

sptests/spintrcritical23: Explicity set scheduler

This test uses scheduler-specific data structures, thus it must use the
right scheduler.

---

 testsuites/sptests/spintrcritical23/init.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/testsuites/sptests/spintrcritical23/init.c b/testsuites/sptests/spintrcritical23/init.c
index b485674..f71de71 100644
--- a/testsuites/sptests/spintrcritical23/init.c
+++ b/testsuites/sptests/spintrcritical23/init.c
@@ -140,6 +140,9 @@ static void Init(rtems_task_argument arg)
 #define CONFIGURE_MAXIMUM_TIMERS 1
 #define CONFIGURE_MAXIMUM_USER_EXTENSIONS 1
 
+/* We use internal data structures of this scheduler in this test */
+#define CONFIGURE_SCHEDULER_PRIORITY
+
 #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
 
 #define CONFIGURE_RTEMS_INIT_TASKS_TABLE



More information about the vc mailing list