[PATCH 3/5] tests: Remove bogus RTEMS_INTERRUPT_LEVEL(31)

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Jan 8 08:59:33 UTC 2019


It is unnecessary to run these test cases with interrupts disabled.
---
 testsuites/sptests/sp01/init.c         | 2 +-
 testsuites/sptests/spcbssched01/init.c | 2 +-
 testsuites/sptests/spedfsched01/init.c | 2 +-
 testsuites/sptests/spfifo03/init.c     | 2 +-
 testsuites/sptests/spfifo05/init.c     | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/testsuites/sptests/sp01/init.c b/testsuites/sptests/sp01/init.c
index 2b1b23ea1c..2719c84fc8 100644
--- a/testsuites/sptests/sp01/init.c
+++ b/testsuites/sptests/sp01/init.c
@@ -34,7 +34,7 @@ rtems_task Init(
     rtems_build_name( 'T', 'A', '1', ' ' ),
     1,
     RTEMS_MINIMUM_STACK_SIZE * 2,
-    RTEMS_INTERRUPT_LEVEL(31),
+    RTEMS_DEFAULT_MODES,
     RTEMS_DEFAULT_ATTRIBUTES,
     &id
   );
diff --git a/testsuites/sptests/spcbssched01/init.c b/testsuites/sptests/spcbssched01/init.c
index cd20956c0a..dcb7f372c3 100644
--- a/testsuites/sptests/spcbssched01/init.c
+++ b/testsuites/sptests/spcbssched01/init.c
@@ -49,7 +49,7 @@ rtems_task Init(
      Task_name[ 1 ],
      1,
      RTEMS_MINIMUM_STACK_SIZE * 2,
-     RTEMS_INTERRUPT_LEVEL(31),
+     RTEMS_DEFAULT_MODES,
      RTEMS_DEFAULT_ATTRIBUTES,
      &Task_id[ 1 ]
   );
diff --git a/testsuites/sptests/spedfsched01/init.c b/testsuites/sptests/spedfsched01/init.c
index bab57292f6..f19e93c9d5 100644
--- a/testsuites/sptests/spedfsched01/init.c
+++ b/testsuites/sptests/spedfsched01/init.c
@@ -49,7 +49,7 @@ rtems_task Init(
      Task_name[ 1 ],
      1,
      RTEMS_MINIMUM_STACK_SIZE * 2,
-     RTEMS_INTERRUPT_LEVEL(31),
+     RTEMS_DEFAULT_MODES,
      RTEMS_DEFAULT_ATTRIBUTES,
      &Task_id[ 1 ]
   );
diff --git a/testsuites/sptests/spfifo03/init.c b/testsuites/sptests/spfifo03/init.c
index e65c30102b..2760c60613 100644
--- a/testsuites/sptests/spfifo03/init.c
+++ b/testsuites/sptests/spfifo03/init.c
@@ -123,7 +123,7 @@ void test_main(void) /* Also acts as the write task */
 			     readTaskName,
 			     1,
 			     RTEMS_MINIMUM_STACK_SIZE * 2,
-			     RTEMS_INTERRUPT_LEVEL(31),
+			     RTEMS_DEFAULT_MODES,
 			     RTEMS_DEFAULT_ATTRIBUTES,
 			     &readTaskID
 			     );
diff --git a/testsuites/sptests/spfifo05/init.c b/testsuites/sptests/spfifo05/init.c
index 9103d7ccf4..d482ece530 100644
--- a/testsuites/sptests/spfifo05/init.c
+++ b/testsuites/sptests/spfifo05/init.c
@@ -167,7 +167,7 @@ rtems_task Init(
 			     readTaskName,
 			     1,
 			     RTEMS_MINIMUM_STACK_SIZE * 2,
-			     RTEMS_INTERRUPT_LEVEL(31),
+			     RTEMS_DEFAULT_MODES,
 			     RTEMS_DEFAULT_ATTRIBUTES,
 			     &readTaskID
 			     );
-- 
2.16.4




More information about the devel mailing list