Revert "apps/examples/ostest: Skip the task_restart() test on SMP systems. This is not fully implemented."
This reverts commit 0ce49462d1b6becaa1a41adcd3e2b46c70c3e063.
This commit is contained in:
parent
0ce49462d1
commit
3a98b97ea6
@ -44,13 +44,9 @@ STACKSIZE = 2048
|
|||||||
# NuttX OS Test
|
# NuttX OS Test
|
||||||
|
|
||||||
ASRCS =
|
ASRCS =
|
||||||
CSRCS = dev_null.c
|
CSRCS = dev_null.c restart.c
|
||||||
MAINSRC = ostest_main.c
|
MAINSRC = ostest_main.c
|
||||||
|
|
||||||
ifneq ($(CONFIG_SMP),y)
|
|
||||||
CSRCS += restart.c
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_FPU),y)
|
ifeq ($(CONFIG_ARCH_FPU),y)
|
||||||
CSRCS += fpu.c
|
CSRCS += fpu.c
|
||||||
endif
|
endif
|
||||||
|
@ -355,13 +355,11 @@ static int user_main(int argc, char *argv[])
|
|||||||
check_test_memory_usage();
|
check_test_memory_usage();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_SMP /* Not yet supported for the SMP case */
|
|
||||||
/* Checkout task_restart() */
|
/* Checkout task_restart() */
|
||||||
|
|
||||||
printf("\nuser_main: task_restart test\n");
|
printf("\nuser_main: task_restart test\n");
|
||||||
restart_test();
|
restart_test();
|
||||||
check_test_memory_usage();
|
check_test_memory_usage();
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_SCHED_WAITPID
|
#ifdef CONFIG_SCHED_WAITPID
|
||||||
/* Check waitpid() and friends */
|
/* Check waitpid() and friends */
|
||||||
|
@ -49,8 +49,6 @@
|
|||||||
|
|
||||||
#include "ostest.h"
|
#include "ostest.h"
|
||||||
|
|
||||||
#ifndef CONFIG_SMP /* Not yet supported for the SMP case */
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@ -197,5 +195,3 @@ void restart_test(void)
|
|||||||
|
|
||||||
printf("restart_main: Exiting\n");
|
printf("restart_main: Exiting\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CONFIG_SMP */
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user