nuttx-apps/testing/ostest
Xiang Xiao a6477ec8dc !apps: replace sclock_t with clock_t and drop redundant time_t/off_t casts
Align with the upstream nuttx change that drops the sclock_t alias now
that clock_t is itself a signed 64-bit type (int64_t).  Beyond the pure
sclock_t -> clock_t rename, this commit also removes the
now-unnecessary (time_t)-1 / (time_t)0 / (off_t)-1 casts that were
papering over the previously-unsigned time_t.

Files touched:

  - examples/alarm/alarm_main.c:        sclock_t -> clock_t
  - netutils/dhcpd/dhcpd.c:             sclock_t -> clock_t
  - netutils/ftpd/ftpd.c:               sclock_t -> clock_t
  - netutils/thttpd/libhttpd.c,
    netutils/thttpd/tdate_parse.c:      drop (time_t)-1 / (time_t)0 /
                                        (off_t)-1 sentinel casts
  - system/resmonitor/filldisk.c,
    system/zmodem/zm_receive.c:         sclock_t -> clock_t
  - testing/ostest/wdog.c:              sclock_t -> clock_t (the bulk
                                        of the rename, 30 sites)
  - testing/testsuites/kernel/syscall/cases/{clock_nanosleep_test,
    fsync_test,time_test}.c:            drop (time_t)-1 casts in the
                                        new signed-time_t world

No behavioural change.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-05-11 17:38:32 +08:00
..
aio.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +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
CMakeLists.txt sched/hrtimer: relocate the hrtimer test to simplify. 2026-02-26 13:42:45 -05: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
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 ostest: Add spinlock/rspinlock. 2026-01-27 22:59:36 +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 sched/hrtimer: relocate the hrtimer test to simplify. 2026-02-26 13:42:45 -05:00
mqueue.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08: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 sched/hrtimer: relocate the hrtimer test to simplify. 2026-02-26 13:42:45 -05:00
ostest_main.c sched/hrtimer: relocate the hrtimer test to simplify. 2026-02-26 13:42:45 -05:00
perf_gettime.c testing/ostest: Add performance event time counter test 2026-02-02 14:01:00 +08:00
posixtimer.c testing: migrate to SPDX identifier 2024-12-30 18:02:50 +08: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 testing/ostest/roundrobin: add compatible for SMP 2025-12-01 19:09:27 +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 CONFIG_SYSTEM_TIME64 conditionals 2026-05-11 17:38:32 +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 testing/ostest: Fix Coverity for spinlock test. 2026-01-27 22:59:36 +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: migrate to SPDX identifier 2024-12-30 18:02:50 +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: migrate to SPDX identifier 2024-12-30 18:02:50 +08: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: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00