[rtems-central commit] spec: Improve branch coverage

Sebastian Huber sebh at rtems.org
Sat Aug 7 19:17:01 UTC 2021


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Sat Aug  7 21:15:34 2021 +0200

spec: Improve branch coverage

---

 spec/bsp/sparc/leon3/val/fatal-shutdown-response.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spec/bsp/sparc/leon3/val/fatal-shutdown-response.yml b/spec/bsp/sparc/leon3/val/fatal-shutdown-response.yml
index 11d9e75..e378cab 100644
--- a/spec/bsp/sparc/leon3/val/fatal-shutdown-response.yml
+++ b/spec/bsp/sparc/leon3/val/fatal-shutdown-response.yml
@@ -21,7 +21,7 @@ test-actions:
   - brief: |
       Check that the expected fatal source is present.
     code: |
-      T_step_eq_int( ${step}, ctx->source, RTEMS_FATAL_SOURCE_APPLICATION );
+      T_step_eq_int( ${step}, ctx->source, RTEMS_FATAL_SOURCE_SMP );
     links: []
   - brief: |
       Check that the expected fatal code is present.
@@ -78,7 +78,7 @@ test-stop: null
 test-support: |
   static void TriggerTestCase( void )
   {
-    rtems_fatal( RTEMS_FATAL_SOURCE_APPLICATION, 123456 );
+    rtems_fatal( RTEMS_FATAL_SOURCE_SMP, 123456 );
   }
 
   RTEMS_SYSINIT_ITEM(



More information about the vc mailing list