On Thu, Apr 30, 2026 at 12:21 AM Thomas Weißschuh <[email protected]> wrote: > > Hi! > > On 2026-03-09 18:10:44+0800, Sun Jian wrote: > > Add a fixture-based test with a single variant and mark it with > > XFAIL_ADD(). The test intentionally fails and is expected to be > > accounted as XFAIL, covering the constructor ordering dependency > > between TEST_F() registration and XFAIL_ADD() registration. > > > > Suggested-by: Thomas Weißschuh <[email protected]> > > Signed-off-by: Sun Jian <[email protected]> > > --- > > v2: > > - update Suggested-by address > > - update harness-selftest.expected > > - verify with 'make run_tests' > > > > .../kselftest_harness/harness-selftest.c | 23 ++++++++++ > > .../harness-selftest.expected | 43 +++++++++++-------- > > 2 files changed, 47 insertions(+), 19 deletions(-) > > Can you rebase this on kselftest/fixes? > https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git/log/?h=fixes > > This doesn't apply anymore and I suspect the proposed ordering suffers > from the issue fixed by commit 465b05bae5ac ("selftests: harness: > Restore order of test functions") > > > Thomas
Hi Thomas, Thanks, I will send a v3 shortly. Sun Jian

