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

commit 69bfda87361700d774f7a69ddeddc7b9d35bf05f
Author: ouyangxiangzhen <[email protected]>
AuthorDate: Wed Apr 16 19:55:07 2025 +0800

    apps/ostest: Fix wqueue_test in flat mode.
    
    This commit re-enabled wqueue_test in flat mode.
    
    Signed-off-by: ouyangxiangzhen <[email protected]>
---
 testing/ostest/ostest_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testing/ostest/ostest_main.c b/testing/ostest/ostest_main.c
index 6bf75d86f..4e2ca3484 100644
--- a/testing/ostest/ostest_main.c
+++ b/testing/ostest/ostest_main.c
@@ -381,7 +381,7 @@ static int user_main(int argc, char *argv[])
       check_test_memory_usage();
 #endif
 
-#if !defined(CONFIG_DISABLE_PTHREAD) && defined(__KERNEL__) && \
+#if !defined(CONFIG_DISABLE_PTHREAD) && defined(CONFIG_BUILD_FLAT) && \
     defined(CONFIG_SCHED_WORKQUEUE)
       /* Check work queues */
 

Reply via email to