From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.tuxteam.de (mail.tuxteam.de [5.199.139.25]) by sourceware.org (Postfix) with ESMTPS id 52BB6385701F for ; Wed, 24 Mar 2021 08:32:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 52BB6385701F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tuxteam.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tomas@tuxteam.de DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=4IfHoxLWkyp7tzvA4wKGL9SDNZCFIk7CEWvri1JhqA0=; b=YsuPAecH+0riCogYNy5kN/E2ORWEKRbtTlkpU39r3KYY5/ZKd8ftV9tXupv1wiU4IdZ0ggf/3FObY/niURjD0hdbHCJNi+mB1Mh65rQDgct8H+jv9Iq+BvCHbUMsTFHt5Cq9GME623ku5ND6KSUUxj5NmyRrEZnXVW6bkvmjI4GsBAxiYdYRlWYM3zM+KwE1o9aevqqMC34NVi1IPmlwdXk6NCXpZfW8jL8Mgdwwt3jtYpZoxGFbQIOFtpL7RxYj7Hp0j2b0Osy1LLcxS4d05OIwnQoXdMeIog1O9Os8Z8X4Y10Li3N7gJuYDWcIcllb7UIdDxEOEWZIXUagl+LE+g==; Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1lOywK-0008BL-Nh; Wed, 24 Mar 2021 09:32:32 +0100 Date: Wed, 24 Mar 2021 09:32:32 +0100 To: Jeffrey Walton , Peng Yu , libc-help Subject: Re: Does glibc has complete test coverage? Message-ID: <20210324083232.GA30513@tuxteam.de> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9amGYk9869ThD9tj" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) From: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-help@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-help mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2021 08:32:35 -0000 --9amGYk9869ThD9tj Content-Type: text/plain; charset=utf-8 Content-Disposition: inline On Tue, Mar 23, 2021 at 09:13:39PM -0400, Mike Frysinger via Libc-help wrote: > On 23 Mar 2021 17:02, Jeffrey Walton wrote: [...] > > Test cases are monkey work that should be delegated. When delegation > > does not occur it usually points back to shortcomings in project > > management. I don't know whether Jeffrey is trying to insult monkeys here... or interns ;-P > many are good for delegation, but that doesn't mean quantity is the same as > quality. if we could get 100% coverage but it took weeks to run, but 90% > coverage took <1 hour, is that 10% worth it ? this isn't exactly hyperbole > when we have targets that run on simulators or FPGAs and have <<1GHz CPUs. That's the point. On paper, test coverage sounds good (and tests, of course are a worthy goal). Reality is harsh, doubly so in the case of an OS abstraction layer like libc. Just imagine the test harness you'd need to cover 100% of the stuff lying /below/ libc. Emulating that is possible (up to some point), but Someone(TM) gotta do it. So, Peng Yu, Jeffrey -- I think I read this already twice in this thread: "patches welcome" :-) Cheers - t --9amGYk9869ThD9tj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAmBa+SAACgkQBcgs9XrR2kbSawCeIrKN/83BWVRFgDgSG5goHDV2 veYAn1SwDrbq8vy/77d2BSGcZSGjT4q+ =JI6i -----END PGP SIGNATURE----- --9amGYk9869ThD9tj--