[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9f8a7f98-1e07-402a-8967-ba8d7e3c2418@sirena.org.uk>
Date: Wed, 6 Sep 2023 17:36:52 +0100
From: Mark Brown <broonie@...nel.org>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: Beau Belgrave <beaub@...ux.microsoft.com>,
Naresh Kamboju <naresh.kamboju@...aro.org>,
"open list:KERNEL SELFTEST FRAMEWORK"
<linux-kselftest@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>,
lkft-triage@...ts.linaro.org, Shuah Khan <shuah@...nel.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Arnd Bergmann <arnd@...db.de>,
Anders Roxell <anders.roxell@...aro.org>
Subject: Re: selftests: user_events: Test terminated by assertion
On Wed, Sep 06, 2023 at 12:28:22PM -0400, Steven Rostedt wrote:
> Mark Brown <broonie@...nel.org> 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.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists