Article View: muc.lists.netbsd.source-changes
Article #19Re: PR/60496 CVS commit: src/tests/lib/libc/locale
From: Taylor R Campbell
Date: Wed, 28 Oct 2026 17:52
Date: Wed, 28 Oct 2026 17:52
33 lines
3255 bytes
3255 bytes
> Date: Wed, 28 Oct 2026 17:35:20 +0000
> From: "Robert Elz" <kre@netbsd.org>
>
> These new tests are currently expected to fail - but are not going to
> be marked as expected fails, I want to see them actually fail.
Please mark the tests as xfail.
Verifying that they actually fail is _exactly the point_ of marking
them as xfail:
0. The tests pass but are missing anything to trigger a certain bug.
1. You add a new test marked xfail.
=> The tests should still pass, verifying the bug is there. (The
new test will be counted among the expected failures rather than
among the successes.)
2. You fix the bug and remove the xfail marker in a single changeset.
=> The tests should still pass, verifying that the fix changed the
test from failing to passing.
If test detects the bug and the change fixes the bug as you intended,
the whole test suite will pass at every step of the way.
If you got anything wrong -- if the test failed to detect the bug, if
the changeset failed to fix the bug -- only _then_ will the test suite
fail. That should be cause for alarm, and shouldn't be used for
routine verification of whether your change worked.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<20261028175248.A282385606@mail.netbsd.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<20261028174002.3C26F1A923C@mollari.NetBSD.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail From: Taylor R Campbell <riastradh@NetBSD.org> Newsgroups: muc.lists.netbsd.source-changes Subject: Re: PR/60496 CVS commit: src/tests/lib/libc/locale Date: Wed, 28 Oct 2026 17:52:47 +0000 Organization: Newsgate at muc.de e.V. Sender: source-changes-d-owner@NetBSD.org Approved: news-admin@muc.de Distribution: world Message-ID: <20261028175248.A282385606@mail.netbsd.org> References: <20261028174002.3C26F1A923C@mollari.NetBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="8769"; mail-complaints-to="news-admin@muc.de" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1793209971; bh=LbyZfLw2K0XpUhFLnhmtpQxnKKY6E7PlCZMjl9WMVok=; h=To:CC:In-reply-to:Subject:Date:From:List-Id:List-Unsubscribe; b=KyUQeIMheXtg7Xg13BuCbxv8+jiMLSmmgUpzWhQa6MR1M6nrnydnI9QRt2bbWwfmt CykeKTmxKUaYgeK2NVKzukEXiMarwkO9nOLhMMY7arfOGOVjhSmHUK+JjIYz5++yCQ 3Tdw/s6w3tTLJfvXkGM0a+D8/oTwLDZzN491OTE8= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org; s=20240131; t=1793209968; bh=LbyZfLw2K0XpUhFLnhmtpQxnKKY6E7PlCZMjl9WMVok=; h=To:CC:In-reply-to:Subject:Date:From; b=QTUWYfgSoUpUof9Lllo0VnSeFHodu0AVvsJf40vLaTwHDbDxTliWyhMp99dH//AQ6 OTc4CXvNoek1HlAq4d0nLMfVOSZ3nRLegSjrQOVwkDK4O+a/DBE72S2IAkk2uaJKpe vAhvzmDC37JLb8pfK3rQzyRBWymZau7hMAjwtDNM= In-reply-to: <20261028174002.3C26F1A923C@mollari.NetBSD.org> (kre@netbsd.org) Precedence: bulk X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes