OS test: Was ignoring CONFIG_EXAMPLES_OSTEST_FPUTESTDISABLE

This commit is contained in:
Gregory Nutt 2016-12-29 11:47:09 -06:00
parent 5291d3e9bc
commit 13c158130d
2 changed files with 3 additions and 1 deletions

View File

@ -48,8 +48,10 @@ CSRCS = dev_null.c restart.c
MAINSRC = ostest_main.c
ifeq ($(CONFIG_ARCH_FPU),y)
ifneq ($(CONFIG_EXAMPLES_OSTEST_FPUTESTDISABLE),y)
CSRCS += fpu.c
endif
endif
ifeq ($(CONFIG_TLS),y)
CSRCS += tls.c

View File

@ -347,7 +347,7 @@ static int user_main(int argc, char *argv[])
check_test_memory_usage();
#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 */
printf("\nuser_main: FPU test\n");