summaryrefslogtreecommitdiffstats
path: root/testsuites/validation/tc-task-create-errors.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-09-07 13:56:42 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-03-24 11:10:49 +0100
commit6b2939048464c0d282fd7eb491fa9f3e24b02e84 (patch)
tree560df1aead3908c2190a784781451ecb13330bc0 /testsuites/validation/tc-task-create-errors.c
parentvalidation: Test Signal Manager (diff)
downloadrtems-6b2939048464c0d282fd7eb491fa9f3e24b02e84.tar.bz2
validation: Test Task Manager
The test source code is generated from specification items by the "./spec2modules.py" script contained in the git://git.rtems.org/rtems-central.git Git repository. Please read the "How-To" section in the "Software Requirements Engineering" chapter of the RTEMS Software Engineering manual to get more information about the process. Update #3716.
Diffstat (limited to 'testsuites/validation/tc-task-create-errors.c')
-rw-r--r--testsuites/validation/tc-task-create-errors.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuites/validation/tc-task-create-errors.c b/testsuites/validation/tc-task-create-errors.c
index 1159773eed..590fe47cb7 100644
--- a/testsuites/validation/tc-task-create-errors.c
+++ b/testsuites/validation/tc-task-create-errors.c
@@ -57,14 +57,16 @@
#include <rtems/score/apimutex.h>
#include <rtems/score/threadimpl.h>
+#include "tx-support.h"
+
#include <rtems/test.h>
/**
* @defgroup RTEMSTestCaseRtemsTaskReqCreateErrors \
* spec:/rtems/task/req/create-errors
*
- * @ingroup RTEMSTestSuiteTestsuitesValidation0
- * @ingroup RTEMSTestSuiteTestsuitesValidation1
+ * @ingroup RTEMSTestSuiteTestsuitesValidationNoClock0
+ * @ingroup RTEMSTestSuiteTestsuitesValidationOneCpu0
*
* @{
*/
@@ -280,8 +282,6 @@ static const char * const * const RtemsTaskReqCreateErrors_PreDesc[] = {
#define NAME rtems_build_name( 'T', 'E', 'S', 'T' )
-#define INVALID_ID 0xffffffff
-
typedef RtemsTaskReqCreateErrors_Context Context;
static rtems_status_code Create( void *arg, uint32_t *id )
@@ -419,7 +419,7 @@ static void RtemsTaskReqCreateErrors_Pre_Prio_Prepare(
/*
* While the ``initial_priority`` parameter is valid and non-zero.
*/
- ctx->initial_priority = 254;
+ ctx->initial_priority = RTEMS_MAXIMUM_PRIORITY - 1;
break;
}