From: Maxime Ripard <mripard@kernel.org>
To: Peter Zijlstra <peterz@infradead.org>
Cc: Kees Cook <kees@kernel.org>,
Alessandro Carminati <acarmina@redhat.com>,
linux-kselftest@vger.kernel.org,
Dan Carpenter <dan.carpenter@linaro.org>,
Daniel Diaz <daniel.diaz@linaro.org>,
David Gow <davidgow@google.com>,
Arthur Grillo <arthurgrillo@riseup.net>,
Brendan Higgins <brendan.higgins@linux.dev>,
Naresh Kamboju <naresh.kamboju@linaro.org>,
Andrew Morton <akpm@linux-foundation.org>,
Ville Syrjala <ville.syrjala@linux.intel.com>,
Daniel Vetter <daniel@ffwll.ch>,
Guenter Roeck <linux@roeck-us.net>,
Alessandro Carminati <alessandro.carminati@gmail.com>,
Jani Nikula <jani.nikula@intel.com>,
Jeff Johnson <jeff.johnson@oss.qualcomm.com>,
Josh Poimboeuf <jpoimboe@kernel.org>,
Shuah Khan <skhan@linuxfoundation.org>,
Linux Kernel Functional Testing <lkft@linaro.org>,
dri-devel@lists.freedesktop.org, kunit-dev@googlegroups.com,
linux-kernel@vger.kernel.org,
Mark Rutland <mark.rutland@arm.com>
Subject: Re: [PATCH v5 1/5] bug/kunit: Core support for suppressing warning backtraces
Date: Fri, 6 Jun 2025 10:05:34 +0200 [thread overview]
Message-ID: <20250606-fat-optimal-jackrabbit-cdbb9f@houat> (raw)
In-Reply-To: <20250603122603.GK21197@noisy.programming.kicks-ass.net>
[-- Attachment #1: Type: text/plain, Size: 1394 bytes --]
On Tue, Jun 03, 2025 at 02:26:03PM +0200, Peter Zijlstra wrote:
> On Mon, Jun 02, 2025 at 01:13:29PM +0200, Maxime Ripard wrote:
>
> > > I can't operate kunit
> >
> > Why not?
>
> Too complicated. People have even wrecked tools/testing/selftests/ to
> the point that it is now nearly impossible to run the simple selftests
> :-(
>
> And while I don't mind tests -- they're quite useful. Kunit just looks
> to make it all more complicated that it needs to be. Not to mention
> there seems to be snakes involved -- and I never can remember how that
> works.
>
> Basically, if the stuff takes more effort to make run, than the time it
> runs for, its a loss. And in that respect much of the kernel testing
> stuff is a fail. Just too damn hard to make work.
>
> I want to: make; ./run.sh or something similarly trivial. But clearly
> that is too much to task these days :-(
Are you sure you're not confusing kunit with kselftests?
You can run all tests in the kernel using:
./tools/testing/kunit/kunit.py run
Restrict it to a single subsystem with (for DRM for example):
./tools/testing/kunit/kunit.py run --kunitconfig=drivers/gpu/drm/tests
Both would compile a UML kernel and run the tests on your workstation,
but you can also run them in qemu with:
./tools/testing/kunit/kunit.py run --arch x86_64
So it looks close to what you expect?
Maxime
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 273 bytes --]
next prev parent reply other threads:[~2025-06-06 8:05 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-26 13:27 [PATCH v5 0/5] kunit: Add support for suppressing warning backtraces Alessandro Carminati
2025-05-26 13:27 ` [PATCH v5 1/5] bug/kunit: Core " Alessandro Carminati
2025-05-28 22:47 ` Kees Cook
2025-05-29 9:02 ` Peter Zijlstra
2025-05-29 17:46 ` Kees Cook
2025-05-30 9:25 ` Peter Zijlstra
2025-05-29 9:01 ` Peter Zijlstra
2025-05-29 10:36 ` Alessandro Carminati
2025-05-30 14:01 ` Peter Zijlstra
2025-05-30 17:48 ` Kees Cook
2025-05-31 10:23 ` Peter Zijlstra
2025-05-31 13:51 ` Kees Cook
2025-06-02 7:57 ` Peter Zijlstra
2025-06-02 10:38 ` Maxime Ripard
2025-06-03 11:40 ` Simona Vetter
2025-06-02 11:13 ` Maxime Ripard
2025-06-03 12:26 ` Peter Zijlstra
2025-06-04 3:30 ` Daniel Latypov
2025-06-06 8:05 ` Maxime Ripard [this message]
2025-05-31 10:25 ` Peter Zijlstra
2025-05-31 7:46 ` Peter Zijlstra
2025-05-31 7:52 ` Alessandro Carminati
2025-05-30 9:26 ` Peter Zijlstra
2025-05-26 13:27 ` [PATCH v5 2/5] bug/kunit: Suppressing warning backtraces reduced impact on WARN*() sites Alessandro Carminati
2025-05-28 22:52 ` Kees Cook
2025-05-26 13:27 ` [PATCH v5 3/5] Add unit tests to verify that warning backtrace suppression works Alessandro Carminati
2025-05-26 13:27 ` [PATCH v5 4/5] drm: Suppress intentional warning backtraces in scaling unit tests Alessandro Carminati
2025-05-26 13:27 ` [PATCH v5 5/5] kunit: Add documentation for warning backtrace suppression API Alessandro Carminati
2025-06-02 7:24 ` [PATCH v5 0/5] kunit: Add support for suppressing warning backtraces Dan Carpenter
2025-06-02 10:47 ` Maxime Ripard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250606-fat-optimal-jackrabbit-cdbb9f@houat \
--to=mripard@kernel.org \
--cc=acarmina@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=alessandro.carminati@gmail.com \
--cc=arthurgrillo@riseup.net \
--cc=brendan.higgins@linux.dev \
--cc=dan.carpenter@linaro.org \
--cc=daniel.diaz@linaro.org \
--cc=daniel@ffwll.ch \
--cc=davidgow@google.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=jeff.johnson@oss.qualcomm.com \
--cc=jpoimboe@kernel.org \
--cc=kees@kernel.org \
--cc=kunit-dev@googlegroups.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=lkft@linaro.org \
--cc=mark.rutland@arm.com \
--cc=naresh.kamboju@linaro.org \
--cc=peterz@infradead.org \
--cc=skhan@linuxfoundation.org \
--cc=ville.syrjala@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).