Thread (13 messages) 13 messages, 2 authors, 2026-02-25

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

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-02-24 23:44:49
Also in: linux-kselftest, lkml

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@gmail.com (local)
-- 
pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help