You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/08/01 15:25:24 UTC
(nuttx-apps) branch master updated: ostest: Enable vfork test for BUILD_KERNEL
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 38ae8e782 ostest: Enable vfork test for BUILD_KERNEL
38ae8e782 is described below
commit 38ae8e7827e32eb94e85b48e854ecef1e147b85d
Author: Ville Juven <vi...@unikie.com>
AuthorDate: Thu Aug 1 12:44:49 2024 +0300
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.
---
testing/ostest/ostest_main.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/testing/ostest/ostest_main.c b/testing/ostest/ostest_main.c
index f7b3bef60..af063fc08 100644
--- a/testing/ostest/ostest_main.c
+++ b/testing/ostest/ostest_main.c
@@ -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