nuttx-apps/testing/ostest
DuoYuWang 1c0a812377 testing/ostest: exercise custom work queues
Add a focused wqueue entry that exercises predefined and dynamically
created work queues without changing the no-argument ostest flow.

Share the semaphore wait and basic worker helpers across configurations.
Flat builds exercise scheduler queues, Protected builds exercise USRWORK,
and pthread-enabled builds additionally cover configurable custom worker
pools. When pthread support is disabled, only predefined USRWORK cases are
compiled.

Cover invalid arguments, priority lookup, immediate and delayed work,
pending replacement and cancellation, periodic requeue, synchronous and
parallel cancellation, concurrent queues, callback self-destruction, and
queue teardown.

Assisted-by: Codex:GPT-5
Signed-off-by: DuoYuWang <thirteenking.wang@gmail.com>
2026-09-16 00:07:51 +08:00
..
aio.c nshlib/testing: Fix open() arguments. 2026-05-22 13:39:04 +08:00
barrier.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
cancel.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
chroot.c testing: add ostest coverage for chroot 2026-08-21 02:54:29 +08:00
CMakeLists.txt testing/ostest: exercise custom work queues 2026-09-16 00:07:51 +08:00
cond.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
dev_null.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
fork.c testing/ostest: Split the fork test into vfork and fork. 2026-08-14 07:46:54 -03:00
fpu.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
getopt.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
hrtimer.c ostest/hrtimer: Update the comments. 2026-02-26 13:42:45 -05:00
Kconfig testing/ostest: exercise custom work queues 2026-09-16 00:07:51 +08:00
libc_memmem.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Make.defs testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Makefile testing/ostest: exercise custom work queues 2026-09-16 00:07:51 +08:00
mqueue.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
multiuser.c system/sudo: add setuid privilege helper 2026-08-17 09:06:13 -03:00
mutex.c ostest: Implement mutex move test functionality 2025-03-24 20:34:54 +08:00
nsem.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
nxevent.c sched/event: add nxevent_getmask tests 2025-09-10 13:59:04 +08:00
ostest.h testing/ostest: exercise custom work queues 2026-09-16 00:07:51 +08:00
ostest_main.c testing/ostest: exercise custom work queues 2026-09-16 00:07:51 +08:00
perf_gettime.c testing/ostest: Add performance event time counter test 2026-02-02 14:01:00 +08:00
posixtimer.c ostest: Make POSIX timers test work with CONFIG_ENABLE_PARTIAL_SIGNALS 2026-06-16 08:49:22 +02:00
prioinherit.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pthread_cleanup.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pthread_exit.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pthread_rwlock.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
pthread_rwlock_cancel.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
restart.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
rmutex.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
robust.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
roundrobin.c apps: replace atomic_fetch_xxx with atomic_xxx 2026-08-24 20:10:37 +08:00
sched_thread_local.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
schedlock.c Remove unused header files across multiple source files 2025-01-10 21:42:00 +08:00
sem.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
semtimed.c !apps: drop redundant casts on tv_sec/tv_nsec and fix printf formats 2026-05-22 13:38:25 +08:00
setjmp.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
setvbuf.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
sigev_thread.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
sighand.c sighand: need block WAKEUP_SIGNAL in current tcb 2026-01-12 00:55:33 +08:00
sighelper.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
signest.c include/debug.h: Use <nuttx/debug.h> in apps 2026-04-11 10:39:27 -03:00
sigprocmask.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
smp_call.c testing/ostest/smp_call.c: fix smp_call cpu_set inconsistency issue 2025-12-09 09:44:37 -05:00
specific.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
spinlock.c apps: replace atomic_fetch_xxx with atomic_xxx 2026-08-24 20:10:37 +08:00
sporadic.c testing/{ostest,sched/smp}: Remove BOARD_LOOPSPERMSEC references 2026-02-09 09:21:50 +01:00
sporadic2.c testing/{ostest,sched/smp}: Remove BOARD_LOOPSPERMSEC references 2026-02-09 09:21:50 +01:00
suspend.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
timedmqueue.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
timedmutex.c testing/ostest: Add timed mutex timeout regression tests 2026-08-05 21:52:16 +08:00
timedwait.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
tls.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
vfork.c testing/ostest: Split the fork test into vfork and fork. 2026-08-14 07:46:54 -03:00
waitpid.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
wdog.c !apps: replace sclock_t with clock_t and drop redundant time_t/off_t casts 2026-05-11 17:38:32 +08:00
wqueue.c testing/ostest: exercise custom work queues 2026-09-16 00:07:51 +08:00