mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
sptests: Add spmutex01 to build
This commit is contained in:
@@ -23,7 +23,7 @@ _SUBDIRS = \
|
||||
spintrcritical09 spintrcritical10 spintrcritical11 spintrcritical12 \
|
||||
spintrcritical13 spintrcritical14 spintrcritical15 spintrcritical16 \
|
||||
spintrcritical17
|
||||
|
||||
_SUBDIRS += spmutex01
|
||||
_SUBDIRS += spsem01 spsem02 spsem03 spsem04 spsem05
|
||||
|
||||
DIST_SUBDIRS = $(_SUBDIRS) spfatal_support spintrcritical_support
|
||||
|
||||
@@ -128,6 +128,7 @@ spintrcritical14/Makefile
|
||||
spintrcritical15/Makefile
|
||||
spintrcritical16/Makefile
|
||||
spintrcritical17/Makefile
|
||||
spmutex01/Makefile
|
||||
spnotepad01/Makefile
|
||||
spobjgetnext/Makefile
|
||||
spprintk/Makefile
|
||||
|
||||
@@ -461,10 +461,8 @@ static void tear_down(test_context *ctx)
|
||||
static void Init(rtems_task_argument arg)
|
||||
{
|
||||
test_context *ctx = &test_instance;
|
||||
rtems_resource_snapshot snapshot;
|
||||
|
||||
TEST_BEGIN();
|
||||
rtems_resource_snapshot_take(&snapshot);
|
||||
printf("*** BEGIN OF TEST SPMUTEX 1 ***\n");
|
||||
|
||||
set_up(ctx);
|
||||
test_inherit(ctx);
|
||||
@@ -475,8 +473,7 @@ static void Init(rtems_task_argument arg)
|
||||
test_inherit_flush(ctx);
|
||||
tear_down(ctx);
|
||||
|
||||
rtems_test_assert(rtems_resource_snapshot_check(&snapshot));
|
||||
TEST_END();
|
||||
printf("*** END OF TEST SPMUTEX 1 ***\n");
|
||||
rtems_test_exit(0);
|
||||
}
|
||||
|
||||
@@ -487,12 +484,6 @@ static void Init(rtems_task_argument arg)
|
||||
|
||||
#define CONFIGURE_MAXIMUM_SEMAPHORES 3
|
||||
|
||||
#ifdef RTEMS_POSIX_API
|
||||
#define CONFIGURE_MAXIMUM_POSIX_MUTEXES 1
|
||||
#endif
|
||||
|
||||
#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
|
||||
|
||||
#define CONFIGURE_INIT_TASK_PRIORITY 3
|
||||
|
||||
#define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES
|
||||
|
||||
Reference in New Issue
Block a user