OS test: Was ignoring CONFIG_EXAMPLES_OSTEST_FPUTESTDISABLE
This commit is contained in:
parent
5291d3e9bc
commit
13c158130d
@ -48,8 +48,10 @@ CSRCS = dev_null.c restart.c
|
|||||||
MAINSRC = ostest_main.c
|
MAINSRC = ostest_main.c
|
||||||
|
|
||||||
ifeq ($(CONFIG_ARCH_FPU),y)
|
ifeq ($(CONFIG_ARCH_FPU),y)
|
||||||
|
ifneq ($(CONFIG_EXAMPLES_OSTEST_FPUTESTDISABLE),y)
|
||||||
CSRCS += fpu.c
|
CSRCS += fpu.c
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_TLS),y)
|
ifeq ($(CONFIG_TLS),y)
|
||||||
CSRCS += tls.c
|
CSRCS += tls.c
|
||||||
|
@ -347,7 +347,7 @@ static int user_main(int argc, char *argv[])
|
|||||||
check_test_memory_usage();
|
check_test_memory_usage();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_ARCH_FPU
|
#if defined(CONFIG_ARCH_FPU) && !defined(CONFIG_EXAMPLES_OSTEST_FPUTESTDISABLE)
|
||||||
/* Check that the FPU is properly supported during context switching */
|
/* Check that the FPU is properly supported during context switching */
|
||||||
|
|
||||||
printf("\nuser_main: FPU test\n");
|
printf("\nuser_main: FPU test\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user