[rtems-central commit] spec: Fix infinite loop after test suite end

Sebastian Huber sebh at rtems.org
Fri Nov 19 12:24:45 UTC 2021


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Nov 19 13:25:13 2021 +0100

spec: Fix infinite loop after test suite end

---

 spec/score/val/fatal.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/score/val/fatal.yml b/spec/score/val/fatal.yml
index 8521c61..442b758 100644
--- a/spec/score/val/fatal.yml
+++ b/spec/score/val/fatal.yml
@@ -124,7 +124,6 @@ test-actions:
     T_eq_ulong( ctx->code, INTERNAL_ERROR_THREAD_QUEUE_DEADLOCK );
 
     RestoreRunnerPriority();
-    SetFatalHandler( NULL, NULL );
 
     sc = rtems_extension_delete( extension_id );
     T_rsc_success( sc );
@@ -294,6 +293,7 @@ test-support: |
     void              *arg
   )
   {
+    SetFatalHandler( NULL, NULL );
     Fatal( source, code, arg );
     longjmp( before_fatal, 1 );
   }



More information about the vc mailing list