This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Clarify README.libm-test


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  <jakub@redhat.com>

	* 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]