zephyr/tests/ztest
Nicolas Pitre 46aa6717ff Revert "arch: deprecate _current"
Mostly a revert of commit b1def7145f ("arch: deprecate `_current`").

This commit was part of PR #80716 whose initial purpose was about providing
an architecture specific optimization for _current. The actual deprecation
was sneaked in later on without proper discussion.

The Zephyr core always used _current before and that was fine. It is quite
prevalent as well and the alternative is proving rather verbose.
Furthermore, as a concept, the "current thread" is not something that is
necessarily architecture specific. Therefore the primary abstraction
should not carry the arch_ prefix.

Hence this revert.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2025-01-10 07:49:08 +01:00
..
base tests: ztest/base: fix incorrect userspace filtering 2024-11-20 15:58:15 -05:00
busy_sim hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
error_hook Revert "arch: deprecate _current" 2025-01-10 07:49:08 +01:00
fail tests: Support targeting unit_testing with and without qualifier 2024-10-25 18:51:10 +01:00
summary tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00
zexpect tests: Support targeting unit_testing with and without qualifier 2024-10-25 18:51:10 +01:00
ztest_param Tests: Ztest_params fix. 2024-09-23 14:08:41 +01:00
ztress tests: remove CONFIG_ZTEST_NEW_API in all tests 2023-10-20 15:04:29 +02:00