dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: Guenter Roeck <linux@roeck-us.net>, Maxime Ripard <mripard@kernel.org>
Cc: Simona Vetter <simona.vetter@ffwll.ch>,
	dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org,
	Carlos Eduardo Gallo Filho <gcarlos@disroot.org>,
	Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
	Thomas Zimmermann <tzimmermann@suse.de>,
	Jeff Johnson <quic_jjohnson@quicinc.com>
Subject: Re: [PATCH 0/2] drm: revert some framebuffer API tests
Date: Tue, 24 Sep 2024 18:56:26 +0300	[thread overview]
Message-ID: <87ed593v11.fsf@intel.com> (raw)
In-Reply-To: <4accd038-9624-43de-96ad-7ecd0876b607@roeck-us.net>

On Tue, 24 Sep 2024, Guenter Roeck <linux@roeck-us.net> wrote:
>>>> On Tue, Sep 24, 2024 at 12:06:28PM GMT, Simona Vetter wrote:
>>>>> Yeah I think long-term we might want a kunit framework so that we can
>>>>> catch dmesg warnings we expect and test for those, without those warnings
>>>>> actually going to dmesg. Similar to how the lockdep tests also reroute
>>>>> locking validation, so that the expected positive tests don't wreak
>>>>> lockdep for real.
>>>>>
>>>>> But until that exists, we can't have tests that splat in dmesg when they
>>>>> work as intended.
>
> FWIW, that is arguable. More and more tests are added which do add such splats,
> and I don't see any hesitance by developers to adding more. So far I counted
> two alone in this commit window, and that does not include new splats from
> tests which I had already disabled. I simply disable those tests or don't
> enable them in the first place if they are new. I did the same with the drm
> unit tests due to the splats generated by the scaling unit tests, so any
> additional drm unit test splats don't make a difference for me since the
> tests are already disabled.

What's the point of having unit tests that CI systems routinely have to
filter out of test runs? Or filter warnings generated by the tests,
potentially missing new warnings. Who is going to run the tests if the
existing CI systems choose to ignore them?

Automation on a massive scale is key here, and making that harder is
counter-productive.


BR,
Jani.


-- 
Jani Nikula, Intel

  reply	other threads:[~2024-09-24 15:56 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-17 17:43 [PATCH 0/2] drm: revert some framebuffer API tests Jani Nikula
2024-09-17 17:43 ` [PATCH 1/2] Revert "drm/tests: Add test for drm_framebuffer_free()" Jani Nikula
2024-09-17 17:43 ` [PATCH 2/2] Revert "drm/tests: Add test for drm_framebuffer_init()" Jani Nikula
2024-09-24 10:06 ` [PATCH 0/2] drm: revert some framebuffer API tests Simona Vetter
2024-09-24 11:54   ` Maxime Ripard
2024-09-24 13:37     ` Guenter Roeck
2024-09-24 13:56       ` Maxime Ripard
2024-09-24 15:09         ` Guenter Roeck
2024-09-24 15:56           ` Jani Nikula [this message]
2024-09-24 16:35             ` Guenter Roeck
2024-09-24 16:57             ` Maxime Ripard
2024-09-24 17:37               ` Guenter Roeck
2024-09-25  9:41               ` Jani Nikula
2024-09-25 12:59                 ` Maxime Ripard
2024-09-25 15:57                   ` Guenter Roeck
2024-09-25 11:52           ` Simona Vetter
2024-09-25 13:05             ` Maxime Ripard
2024-09-25 16:04               ` Guenter Roeck
2024-09-26  7:05                 ` Maxime Ripard
2024-10-02 12:10               ` Jani Nikula
2024-10-03 12:04                 ` 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=87ed593v11.fsf@intel.com \
    --to=jani.nikula@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=gcarlos@disroot.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=linux@roeck-us.net \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=quic_jjohnson@quicinc.com \
    --cc=simona.vetter@ffwll.ch \
    --cc=tzimmermann@suse.de \
    /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).