From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 94295 invoked by alias); 16 May 2016 22:27:29 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 94240 invoked by uid 89); 16 May 2016 22:27:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:1450, confidence X-HELO: e35.co.us.ibm.com X-IBM-Helo: d03dlp02.boulder.ibm.com X-IBM-MailFrom: murphyp@linux.vnet.ibm.com X-IBM-RcptTo: libc-alpha@sourceware.org From: "Paul E. Murphy" To: libc-alpha@sourceware.org Subject: [PATCH 0/5] Refactor several strtod tests to support more types Date: Mon, 16 May 2016 22:27:00 -0000 Message-Id: X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16051622-0013-0000-0000-0000419D2C9D X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused X-SW-Source: 2016-05/txt/msg00315.txt.bz2 This patch series refactors several existing tests to more readily support new floating point types via a new header, tst-strtod.h. Patch 4 is bulky as it removes the generated code from tst-strtod-round.c and is regenerated via gen-tst-strtod-round.c as tst-strtod-round-data.h. There are no changes to the test data or its formatting. This also incidentally expands a few tests to also run against float and logn double variants as well. I think the converted tests should provide reasonable confidence when adding new floating point variants based on the common strtod_l.c code. I've tested on ppc64le (ldbl-128ibm) and x86-64 (ldbl-intel96). Any assistance or advice for testing the remaining three ldbl types is appreciated. Paul E. Murphy (5): Refactor bug-strtod.c to better test new types. Refactor bug-strtod2.c to be type generic Refactor tst-strtod6.c Refactor tst-strtod-round.c Refactor tst-strtod-round.c for type-generic-ness stdlib/bug-strtod.c | 103 +- stdlib/bug-strtod2.c | 63 +- stdlib/gen-tst-strtod-round.c | 53 +- ...{tst-strtod-round.c => tst-strtod-round-data.h} | 230 +- stdlib/tst-strtod-round.c | 12563 +------------------ stdlib/tst-strtod.h | 138 + stdlib/tst-strtod6.c | 98 +- 7 files changed, 350 insertions(+), 12898 deletions(-) copy stdlib/{tst-strtod-round.c => tst-strtod-round-data.h} (98%) create mode 100644 stdlib/tst-strtod.h -- 2.4.11