This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


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

Re: [COMMITTED] Add convenience target to automatically update ULPs for your machine.


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.


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