mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-07-09 07:55:18 +08:00
ostest: Enable vfork test for BUILD_KERNEL
The test was disabled because of a bug in the NuttX kernel, which is now fixed. Obviously depends on the fix.
This commit is contained in:
parent
a15403958d
commit
38ae8e7827
@ -592,16 +592,8 @@ static int user_main(int argc, char *argv[])
|
|||||||
|
|
||||||
#if defined(CONFIG_ARCH_HAVE_FORK) && defined(CONFIG_SCHED_WAITPID) && \
|
#if defined(CONFIG_ARCH_HAVE_FORK) && defined(CONFIG_SCHED_WAITPID) && \
|
||||||
!defined(CONFIG_ARCH_SIM)
|
!defined(CONFIG_ARCH_SIM)
|
||||||
#ifndef CONFIG_BUILD_KERNEL
|
|
||||||
printf("\nuser_main: vfork() test\n");
|
printf("\nuser_main: vfork() test\n");
|
||||||
vfork_test();
|
vfork_test();
|
||||||
#else
|
|
||||||
/* REVISIT: The issue with vfork() is on the kernel side, fix the issue
|
|
||||||
* and re-enable this test with CONFIG_BUILD_KERNEL
|
|
||||||
*/
|
|
||||||
|
|
||||||
printf("\nuser_main: vfork() test DISABLED (CONFIG_BUILD_KERNEL)\n");
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SMP_CALL
|
#ifdef CONFIG_SMP_CALL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user