From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 871681F5AE for ; Thu, 10 Jun 2021 08:24:52 +0000 (UTC) Received: from localhost ([::1]:47534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrFzf-0007vo-B1 for normalperson@yhbt.net; Thu, 10 Jun 2021 04:24:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrFoP-00005w-BI for bug-gnulib@gnu.org; Thu, 10 Jun 2021 04:13:13 -0400 Received: from uggla.sjd.se ([2001:9b1:8633::107]:35646) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrFoM-0005My-NG for bug-gnulib@gnu.org; Thu, 10 Jun 2021 04:13:12 -0400 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2101; h=Content-Type:MIME-Version:Message-ID:In-Reply-To :Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=8Uwk4/VC3/vRMhbmqavOMWByVSKL/Udpd5luqur+6Kg=; t=1623312789; x=1624522389; b=+UP8bVXhFM8nanEkiTkWcjn0bLhZn48qC9DdlW9QEYtDK5egZMnLequk8J+oLLg+8I8rC2oU5s F23TL5+u7HAg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2101; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=8Uwk4/VC3/vRMhbmqavOMWByVSKL/Udpd5luqur+6Kg=; t=1623312789; x=1624522389; b=Eq2sxp57S3QchwdobLllq5O3Kk+yVSSKQTTxXUJ3F9ABbh6cvybmY6s99vXtrmqGm+NFdHQNUG E4YO4HFKSgfaNECNGqRZgd5hgt1s8YUE7UdrPRAERbMmRDNwmeN6Yo60GP15IlmeSJ5zhMEsk1EsR oTMQdWr4MO/yEvOVP4ypDELchBvEan1wp/oEyEfK/zy27z/SV0r3oVRTqI10TG2EfmBsvgRB9XTYx uPbREaG0IiqKVjSFc34XprXep2jj5USvmWbfC7Pb4TIQzc/q3C8JNm+GyqF+4WZiPMg//LKGzN2LB mKkIQZ4aa61zdBGg5fUs9KYw4Ik05Do40XAMArtwR17WR0bOS/3GDMVp9yrH0BZ0gf7GvS1DkTiDF NWf+Zr0CsPeoZWhQ0l0MgeN9IKuIH/wMl9GINYfFzrLzTHve9M9/NpGx79kEMYlgjis8df8piO ; Received: from [2001:9b1:41ac:ff00:9c:f8b9:103c:9481] (port=47212 helo=latte) by uggla.sjd.se with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lrFoD-0005zS-76; Thu, 10 Jun 2021 08:13:01 +0000 To: Bruno Haible Cc: Bernhard Voelker , noloader@gmail.com, bug-gnulib@gnu.org Subject: Re: warnings in unit tests References: <15897619.AQZsorJ5YP@omega> <4537093.ULRrrf3QbG@omega> <95d95bca-0f45-9a93-634f-47bb536d2923@bernhard-voelker.de> <3014747.zE86cuorZB@omega> OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt X-Hashcash: 1:22:210610:mail@bernhard-voelker.de::lQpzGIj1F03w9/OD:AiC X-Hashcash: 1:22:210610:noloader@gmail.com::sf5n3bBJrQhX1A8h:9Lnv X-Hashcash: 1:22:210610:bug-gnulib@gnu.org::3LJ9iTeMJyx51Izl:QnIb X-Hashcash: 1:22:210610:bruno@clisp.org::HG4FjWx7UMfqId2b:vswM Date: Thu, 10 Jun 2021 10:13:00 +0200 In-Reply-To: <3014747.zE86cuorZB@omega> (Bruno Haible's message of "Wed, 09 Jun 2021 16:17:27 +0200") Message-ID: <87k0n2nnn7.fsf@latte.josefsson.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2001:9b1:8633::107; envelope-from=simon@josefsson.org; helo=uggla.sjd.se X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" Reply-to: Simon Josefsson From: Simon Josefsson via Gnulib discussion list --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Bruno Haible writes: > The other reason is that every package maintainer has their preferred set= of > warnings =E2=80=94 that's what the 'manywarnings' module is made for =E2= =80=94, but it does > not make sense for package maintainers to enforce the absence of certain > warnings on code that 1) they don't maintain, 2) does not end up in the > binaries produced (installed) by their package. I agree with that. The unfortunate result, however, is that maintainers are less likely to enable gnulib self-tests in their packages, since it creates additional work. I try to have gnulib tests enabled, but sometimes I disable them because having them enabled leads to problems that are too time-consuming to debug and fix. Most of my projects have multiple gnulib instances in them, which gnulib self-tests does not support. I've seen over the years a number of cases where old releases of my packages fail to 'make check' correctly only because of a gnulib self-test that was 1) simply buggy, or 2) the gnulib replacement code had bugs in them on some platform, or 3) the self-test tested a corner-case that newer platforms (for valid reasons) chose to behave differently for. I think there is room for improvements in this field, with the goal of making it easier for maintainers to always include all gnulib self-tests, but I don't really know what it could be. /Simon --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSjzJyHC50xCrrUzy9RcisI/kdFogUCYMHJjAAKCRBRcisI/kdF ooHfAQCESNV2eG0cEigD6YOmpMvHwv+dbtgEh6rLw2B7142yXwD5AVzq+9gEOVqK uxLwBTzCsrdkKoZpXoFVz/no5QirWA4= =Q+vX -----END PGP SIGNATURE----- --=-=-=--