summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-07-04 09:48:52 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-07-07 07:56:25 +0200
commite745ec59d8b5b8ff64b2920789296b624514d352 (patch)
tree4cbd08675522f11537f75de59a188d77eb1d6f8d
parentscore: Add scheduler node to set affinity op (diff)
downloadrtems-e745ec59d8b5b8ff64b2920789296b624514d352.tar.bz2
smptests/smpstrongapa01: Simplify
Update #3059.
-rw-r--r--testsuites/smptests/smpstrongapa01/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/smptests/smpstrongapa01/init.c b/testsuites/smptests/smpstrongapa01/init.c
index 16ef6e4723..75ac79bc54 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);
}
}
}