From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14250 invoked by alias); 24 Mar 2004 15:31:23 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 14215 invoked from network); 24 Mar 2004 15:31:20 -0000 Received: from unknown (HELO sunsite.ms.mff.cuni.cz) (195.113.15.26) by sources.redhat.com with SMTP; 24 Mar 2004 15:31:20 -0000 Received: from sunsite.ms.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.ms.mff.cuni.cz (8.12.8/8.12.8) with ESMTP id i2ODLWHS025186; Wed, 24 Mar 2004 14:21:32 +0100 Received: (from jakub@localhost) by sunsite.ms.mff.cuni.cz (8.12.8/8.12.8/Submit) id i2ODLWS6025184; Wed, 24 Mar 2004 14:21:32 +0100 Date: Wed, 24 Mar 2004 21:52:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Clarify README.libm-test Message-ID: <20040324132132.GL15946@sunsite.ms.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2004-03/txt/msg00130.txt.bz2 Hi! The description in libm test README is quite confusing, because the tests append to ULPs file instead of overwriting it each time, so there is no need to move and concat the files together, on the other side it is needed to remove pre-existing ULPs file before starting the tests. 2004-03-24 Jakub Jelinek * math/README.libm-test: Adjust description, since test-* append to ULPs instead of overwriting it. --- libc/math/README.libm-test.jj 1999-10-25 22:12:32.000000000 +0200 +++ libc/math/README.libm-test 2004-03-24 13:31:19.336961745 +0100 @@ -45,15 +45,15 @@ but it's better to pretty print it first to generate a pretty-printed and sorted new ULPs file from the output of the test drivers. -To generate a new "libm-test-ulps" file, you can execute for example: +To generate a new "libm-test-ulps" file, first remove "ULPs" file in the +current directory, then you can execute for example: test-double -u --ignore-max-ulp=yes This generates a file "ULPs" with all double ULPs in it, ignoring any previous calculated ULPs. -Now move this away, e.g. "mv ULPs allULPs" and generate the ULPs -for all other formats and concat all ULP files together (e.g. "cat -ULPs >> allULPs"). As final step run "gen-libm-test.pl" with the file -as input and ask to generate a pretty printed output in the file "NewUlps": - gen-libm-test.pl -u allULPs -n +Now generate the ULPs for all other formats, the tests will be appending +the data to the "ULPs" file. As final step run "gen-libm-test.pl" with the +file as input and ask to generate a pretty printed output in the file "NewUlps": + gen-libm-test.pl -u ULPs -n Now you can rename "NewUlps" to "libm-test-ulps" and move it into sysdeps. Jakub