This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [COMMITTED] Add convenience target to automatically update ULPs for your machine.
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Andreas Jaeger <aj at suse dot com>, GNU C Library <libc-alpha at sourceware dot org>, Roland McGrath <roland at hack dot frob dot com>
- Date: Sat, 06 Apr 2013 17:15:21 -0400
- Subject: Re: [COMMITTED] Add convenience target to automatically update ULPs for your machine.
- References: <515E05EC dot 1020101 at redhat dot com> <m2a9pdb9lq dot fsf at igel dot home> <515EEA67 dot 6020601 at redhat dot com> <516053B6 dot 4000304 at redhat dot com> <51607CEB dot 1030105 at suse dot com> <51607E21 dot 3000009 at redhat dot com> <51608614 dot 9050306 at redhat dot com> <m24nfjjrqp dot fsf at igel dot home>
On 04/06/2013 05:04 PM, Andreas Schwab wrote:
> "Carlos O'Donell" <carlos@redhat.com> writes:
>
>> +To manually generate a new "libm-test-ulps" file, first remove "ULPs"
>> +file in the current directory, then you can execute for example:
>> + /build/elf/ld.so --library--path /build/:/build/elf:/build/math \
>> + test-double -u --ignore-max-ulp=yes
>
> ./testrun.sh math/test-double -u --ignore-max-ulp=yes
Thanks, I'd completely forgotten about testrun.sh.
Update checked in.
Wiki Regeneration instructions updated to match.
2013-04-06 Carlos O'Donell <carlos@redhat.com>
* math/README.libm-test (How can I generate "libm-test-ulps"?):
Use testrun.sh to run libm tests.
diff --git a/math/README.libm-test b/math/README.libm-test
index 2929499..7003e5d 100644
--- a/math/README.libm-test
+++ b/math/README.libm-test
@@ -48,8 +48,7 @@ the changes, post your patch, and check it in after review.
To manually generate a new "libm-test-ulps" file, first remove "ULPs"
file in the current directory, then you can execute for example:
- /build/elf/ld.so --library--path /build/:/build/elf:/build/math \
- test-double -u --ignore-max-ulp=yes
+ ./testrun.sh math/test-double -u --ignore-max-ulp=yes
This generates a file "ULPs" with all double ULPs in it, ignoring any
previously calculated ULPs, and running with the newly built dynamic
loader and math library (assumes you didn't install your build). Now
---
Cheers,
Carlos.