diff options
Diffstat (limited to 'testsuites/validation/tc-task-create-errors.c')
-rw-r--r-- | testsuites/validation/tc-task-create-errors.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/testsuites/validation/tc-task-create-errors.c b/testsuites/validation/tc-task-create-errors.c index 1159773eed..2378e55020 100644 --- a/testsuites/validation/tc-task-create-errors.c +++ b/testsuites/validation/tc-task-create-errors.c @@ -3,11 +3,11 @@ /** * @file * - * @ingroup RTEMSTestCaseRtemsTaskReqCreateErrors + * @ingroup RtemsTaskReqCreateErrors */ /* - * Copyright (C) 2020, 2021 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020, 2021 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -57,14 +57,15 @@ #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 + * @defgroup RtemsTaskReqCreateErrors spec:/rtems/task/req/create-errors * - * @ingroup RTEMSTestSuiteTestsuitesValidation0 - * @ingroup RTEMSTestSuiteTestsuitesValidation1 + * @ingroup TestsuitesValidationNoClock0 + * @ingroup TestsuitesValidationOneCpu0 * * @{ */ @@ -280,8 +281,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 +418,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; } |