Re: [PATCH v2 1/2] selftests/harness: order TEST_F and XFAIL_ADD constructors

From: Jakub Kicinski

Date: Tue Feb 24 2026 - 18:44:55 EST


On Tue, 24 Feb 2026 19:38:59 +0800 Sun Jian wrote:
> *
> * EXPECT_* and ASSERT_* are valid in a TEST() { } context.
> */
> +#define KSELFTEST_PRIO_TEST_F 20000
> +#define KSELFTEST_PRIO_XFAIL 20001
> +
> #define TEST_SIGNAL(test_name, signal) __TEST_IMPL(test_name, signal)

You inserted these defines between the kdoc for TEST_SIGNAL() and its
definition.

When you respin, two notes:
- please wait 24h after the previous version before sending a new one,
to allow people in all timezones to comment and avoid splintering
the discussion
- please start a new thread for each submission, and refer to the
previous one with a link in the changelog:

v2:
- bla
- bla
v1: https://lore.kernel.org/20260224104434.14912-1-sun.jian.kdev@xxxxxxxxx
--
pw-bot: cr