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

Carlos O'Donell carlos@redhat.com
Sun Apr 7 04:30:00 GMT 2013


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.



More information about the Libc-alpha mailing list