Re: selftests: user_events: Test terminated by assertion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 06, 2023 at 12:28:22PM -0400, Steven Rostedt wrote:
> Mark Brown <broonie@xxxxxxxxxx> wrote:

> > Yes, tests should skip if preconditions for running them aren't met.

> Yep, see how the ftrace selftests run. If it is determined that the feature
> is not present, it simple returns UNSUPPORTED and not FAILED.

In KTAP terms that's specifically SKIP, generated by calling SKIP() if
using kselftest_harness.h.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux