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:
Ville Juven 2024-08-01 12:44:49 +03:00 committed by Xiang Xiao
parent a15403958d
commit 38ae8e7827

View File

@ -592,16 +592,8 @@ static int user_main(int argc, char *argv[])
#if defined(CONFIG_ARCH_HAVE_FORK) && defined(CONFIG_SCHED_WAITPID) && \
!defined(CONFIG_ARCH_SIM)
#ifndef CONFIG_BUILD_KERNEL
printf("\nuser_main: vfork() test\n");
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
#ifdef CONFIG_SMP_CALL