lkml.org 
[lkml]   [2023]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: selftests: user_events: Test terminated by assertion
On Wed, 6 Sep 2023 17:02:19 +0100
Mark Brown <broonie@kernel.org> wrote:

> On Wed, Sep 06, 2023 at 08:39:22AM -0700, Beau Belgrave wrote:
>
> > What is the expected behavior of self tests if run without their
> > feature enabled? Is it expected these should skip vs fail in that case?
>
> 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.

-- Steve

\
 
 \ /
  Last update: 2023-09-06 18:36    [W:0.036 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site