mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-25 07:27:16 +00:00
apps/examples/ostest: Skip the task_restart() test on SMP systems. This is not fully implemented.
This commit is contained in:
parent
9ce4b6f82e
commit
0ce49462d1
3 changed files with 11 additions and 1 deletions
|
|
@ -44,9 +44,13 @@ STACKSIZE = 2048
|
|||
# NuttX OS Test
|
||||
|
||||
ASRCS =
|
||||
CSRCS = dev_null.c restart.c
|
||||
CSRCS = dev_null.c
|
||||
MAINSRC = ostest_main.c
|
||||
|
||||
ifneq ($(CONFIG_SMP),y)
|
||||
CSRCS += restart.c
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_ARCH_FPU),y)
|
||||
CSRCS += fpu.c
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -355,11 +355,13 @@ static int user_main(int argc, char *argv[])
|
|||
check_test_memory_usage();
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SMP /* Not yet supported for the SMP case */
|
||||
/* Checkout task_restart() */
|
||||
|
||||
printf("\nuser_main: task_restart test\n");
|
||||
restart_test();
|
||||
check_test_memory_usage();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SCHED_WAITPID
|
||||
/* Check waitpid() and friends */
|
||||
|
|
|
|||
|
|
@ -49,6 +49,8 @@
|
|||
|
||||
#include "ostest.h"
|
||||
|
||||
#ifndef CONFIG_SMP /* Not yet supported for the SMP case */
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
|
@ -195,3 +197,5 @@ void restart_test(void)
|
|||
|
||||
printf("restart_main: Exiting\n");
|
||||
}
|
||||
|
||||
#endif /* CONFIG_SMP */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue