Commit Graph

3 Commits

Author SHA1 Message Date
Anas Nashif 7c4d3fbc36 tests: remove CONFIG_ZTEST_NEW_API in all tests
Remove all usage of CONFIG_ZTEST_NEW_API from tests and sample as this
is now enabled by default.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2026-04-20 16:44:15 +08:00
Seppo Takalo 9e59bdb1ac kernel/timeout: Introduce comparison for timepoint values
Introduce new API to compare two timepoint values to
find the one that is going to expire sooner, or is already
expired.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2026-04-20 16:33:18 +08:00
Nicolas Pitre 7f7dda35e5 tests: test the timepoint API
This tests sys_timepoint_calc(), sys_timepoint_timeout() and
sys_timepoint_expired().

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2026-04-20 16:31:59 +08:00