[rtems commit] smptests/smpstrongapa01: Simplify

Sebastian Huber sebh at rtems.org
Mon Jul 10 07:39:10 UTC 2017


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Jul  4 09:48:52 2017 +0200

smptests/smpstrongapa01: Simplify

Update #3059.

---

 testsuites/smptests/smpstrongapa01/init.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/testsuites/smptests/smpstrongapa01/init.c b/testsuites/smptests/smpstrongapa01/init.c
index 16ef6e4..75ac79b 100644
--- a/testsuites/smptests/smpstrongapa01/init.c
+++ b/testsuites/smptests/smpstrongapa01/init.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016 embedded brains GmbH.  All rights reserved.
+ * Copyright (c) 2016, 2017 embedded brains GmbH.  All rights reserved.
  *
  *  embedded brains GmbH
  *  Dornierstr. 4
@@ -18,7 +18,7 @@
 
 #include "tmacros.h"
 
-#include <rtems/score/threadimpl.h>
+#include <rtems.h>
 
 const char rtems_test_name[] = "SMPSTRONGAPA 1";
 
@@ -193,7 +193,7 @@ static void check_cpu_allocations(test_context *ctx, const test_action *action)
     if (e != IDLE) {
       rtems_test_assert(h->Object.id == ctx->task_ids[e]);
     } else {
-      rtems_test_assert(h->Start.Entry.adaptor == _Thread_Entry_adaptor_idle);
+      rtems_test_assert(h->is_idle);
     }
   }
 }



More information about the vc mailing list