summaryrefslogtreecommitdiffstats
path: root/tools/regression/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename all symbols in libmp(3) to mp_*, just like Solaris.ed2009-02-261-59/+59
| | | | | | | | | | | | The function pow() in libmp(3) clashes with pow(3) in libm. We could rename this single function, but we can just take the same approach as the Solaris folks did, which is to prefix all function names with mp_. libmp(3) isn't really popular nowadays. I suspect not a single application in ports depends on it. There's still a chance, so I've increased the SHLIB_MAJOR and __FreeBSD_version. Reviewed by: deischen, rdivacky
* Test wprintf() in addition to printf().das2009-01-311-3/+19
|
* Add tests for conj{,f,l}() that I wrote some time ago. These test thedas2009-01-313-1/+169
| | | | versions in libm, not the gcc builtins.
* #ifdef out the lock-against-self test. I'm not sure it makes sense, anddes2008-10-201-0/+4
| | | | | | it relies on non-portable flock(2) semantics. Not only is flock(2) not portable, but on some OSes that do have it, it is implemented in terms of fcntl(2) locks, which are per-process rather than per-descriptor.
* Regression tests for bugs in gdtoa.das2008-09-031-11/+17
|
* Test that the result is correctly rounded when |y/x| is huge.das2008-08-021-16/+9
|
* Regression tests for fmtcheck(3).das2008-08-022-1/+103
| | | | Obtained from: NetBSD
* Add some tests for acos*(), asin*(), atan*(), and atan2*().das2008-07-313-1/+504
|
* Add regression tests for fmin{,f,l} and fmax{,f,l}.das2008-07-033-1/+161
| | | | | | | | I wrote these to test amd64 asm functions that used maxss, maxsd, minss, and minsd, but it turns out that those instructions don't handle NaNs and signed zero in the same way as fmin() and fmax() are required to, so we're stuck with the C versions for now.
* Add some regression tests for printf() with positional arguments.das2008-06-292-1/+133
| | | | | | | | | The first test comes from OpenBSD, and the others are additions or adaptations. This is based on OpenBSD's src/regress/lib/libc/sprintf/sprintf_test.c, v1.3. I deliberately did not use v1.4 because it's bogus.
* Regression test for a recently fixed strtod bug.das2008-06-211-1/+11
|
* Add four utility functions related to struct grp processing modeled in-partscf2008-04-233-1/+130
| | | | | | | | | | | | | | | | | | | after similar calls related to struct pwd in libutil/pw_util.c: - gr_equal() Perform a deep comparison of two struct grp's. It does a thorough, yet unoptimized comparison of all the members regardless of order. - gr_make() Create a string (see group(5)) from a struct grp. - gr_dup() Duplicate a struct grp. Returns a value that is a single contiguous block of memory. - gr_scan() Create a struct grp from a string (as produced by gr_make()). MFC after: 3 weeks
* Updates for changes in the way printf() handles hex floating pointdas2008-04-121-5/+5
| | | | numbers.
* Add some tests for fma(), fmaf(), and fmal().das2008-04-033-1/+424
|
* Test remainderl() and remquol() as well.das2008-03-301-4/+34
|
* Add some minimal tests for csqrtl().das2008-03-301-59/+88
|
* Don't run tests that assume <= 64-bit precision on machines with quaddas2008-03-021-8/+20
| | | | precision.
* Some basic regression tests for {sin,cos,tan}{,f,l}().das2008-02-183-1/+293
|
* There are 3 tests here, not 2.das2008-02-171-1/+1
|
* expm1(-big) generates an inexact exception but not underflow.das2008-01-181-1/+1
|
* Add some regression tests for libm's exponential functions. Thesedas2008-01-183-1/+181
| | | | | | | mostly just test corner cases rather than accuracy. Some of the tests don't pass right now if you compile libm at -O2 due to gcc constant-folding some things that it shouldn't. I'll fix that shortly.
* Tests for lrintl() and llrintl(). I didn't add anything speciallydas2008-01-141-5/+22
| | | | | tailored for the long double format; instead, I just modified the existing tests to test lrintl() and llrintl() as well.
* Fix an amusing typo that has prevented this from compiling since 2004.das2007-12-161-7/+7
|
* Don't try the long double tests on i386. Our reduced precisiondas2007-12-161-1/+1
| | | | can cause them to fail.
* Remove another Alpha remnant.das2007-12-161-1/+0
|
* Regression tests for nan{,f,l}().das2007-12-163-1/+133
|
* Regression tests for csqrt(3).das2007-12-153-1/+306
|
* Remove some test instrumentation. (The Symbol.map changes broke it anyway.)das2007-12-091-4/+0
|
* Fixes to avoid overzealous constant folding.das2007-12-091-13/+15
|
* gcc 4 does some overzealous constant folding, and since it doesn'tdas2007-12-091-1/+6
| | | | | support FENV_ACCESS, that was causing this test to fail. Use a volatile to avoid the constant folding.
* Make sure we set the locale to "C" when testing thousands' separatordas2007-12-031-2/+2
| | | | | support, rather than just "", which refers to the system default based on the environment.
* Tests for rounding, and for the leading 0's bug.das2007-12-031-1/+13
|
* Add regression tests for flopen(3).des2007-08-033-1/+189
| | | | Approved by: re (blanket)
* - Bugs in gethostbyXXX/getipnodebyXXX regression tests fixed.bushman2007-06-242-73/+162
| | | | | | | Tests for getipnodebyXXX functions now cover most number of flags combinations. Approved by: re (kensmith), brooks (mentor)
* Add regression tests for ethers(3) functions, including new _r variants.rwatson2007-05-133-1/+246
| | | | | | | | | | Four tests currently fail: test_ether_line_bad_1() and test_ether_line_bad_2() due to bugs in ether_line(3). test_ether_ntohost() and test_ether_hostton() due to not being fully implemented tests.
* Committing regression tests for all implemented nsswitch databases.bushman2007-04-1520-0/+5390
| | | | | | | Detailed description and instructions are in the README file. This work had been basically done during GSoC 2006. Approved by: brooks (mentor)
* Fix a few of the tests so that correct implementations actually pass them.das2007-01-071-6/+14
|
* Remove the test that ensures that when the string "nan(...)" is converteddas2007-01-031-0/+8
| | | | | | to floating-point, the result is a quiet NaN. The current implementation may return a signaling NaN, and the vendor has no plans for changing this, for reasons explained in the comment I added.
* Fix cut-and-paste bugs in the regression tests.das2007-01-031-2/+2
|
* Remove alpha left-overs.ru2006-08-221-3/+0
|
* Add a test program which performs some very basic tests of libmp(3).simon2006-07-283-0/+233
| | | | | | It is by no means expected to perform a complete test of the library for correctness, but is meant to test the API to make sure libmp (or libcrypto) updates don't totally break the library.
* Style: NO_MAN doesn't need any value.ru2006-03-151-2/+1
|
* NOMAN --> NO_MANume2006-03-071-1/+1
|
* Add regression tests for trimdomain(3).brooks2005-10-055-0/+212
|
* add simple test script.ume2005-05-051-0/+24
|
* - add $FreeBSD$.ume2005-05-041-1/+2
| | | | - enable -r option for regress target.
* - add $FreeBSD$.ume2005-05-041-10/+128
| | | | | | | - do service lookup. - add options to use gethostbyname(3) or getipnodebyname(3) instead of getaddrinfo(3). - add option to do reverse lookup.
* This commit was generated by cvs2svn to compensate for changes in r145857,ume2005-05-043-0/+319
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * import of parallel name resolution test.ume2005-05-043-0/+319
| | | | Obtained from: NetBSD
* Add missing test-rem.t.das2005-04-021-0/+10
|
OpenPOWER on IntegriCloud