apps/examples/ostest: do not call AIO test without CONFIG_EXAMPLES_OSTEST_AIO

This commit is contained in:
Juha Niskanen 2018-04-11 07:09:47 -06:00 committed by Gregory Nutt
parent 5b85750307
commit d9210579b2
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ void fpu_test(void);
/* aio.c ********************************************************************/
#ifdef CONFIG_FS_AIO
#ifdef CONFIG_EXAMPLES_OSTEST_AIO
void aio_test(void);
#endif

View File

@ -334,7 +334,7 @@ static int user_main(int argc, char *argv[])
check_test_memory_usage();
#endif
#ifdef CONFIG_FS_AIO
#ifdef CONFIG_EXAMPLES_OSTEST_AIO
/* Check asynchronous I/O */
printf("\nuser_main: AIO test\n");