summaryrefslogtreecommitdiff
path: root/tools/regression/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Make sure we set the locale to "C" when testing thousands' separatorDavid Schultz2007-12-031-2/+2
| | | | | | | | support, rather than just "", which refers to the system default based on the environment. Notes: svn path=/head/; revision=174228
* Tests for rounding, and for the leading 0's bug.David Schultz2007-12-031-1/+13
| | | | Notes: svn path=/head/; revision=174205
* Add regression tests for flopen(3).Dag-Erling Smørgrav2007-08-033-1/+189
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=171707
* - Bugs in gethostbyXXX/getipnodebyXXX regression tests fixed.Michael Bushkov2007-06-242-73/+162
| | | | | | | | | | Tests for getipnodebyXXX functions now cover most number of flags combinations. Approved by: re (kensmith), brooks (mentor) Notes: svn path=/head/; revision=171016
* Add regression tests for ethers(3) functions, including new _r variants.Robert Watson2007-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. Notes: svn path=/head/; revision=169523
* Committing regression tests for all implemented nsswitch databases.Michael Bushkov2007-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) Notes: svn path=/head/; revision=168754
* Fix a few of the tests so that correct implementations actually pass them.David Schultz2007-01-071-6/+14
| | | | Notes: svn path=/head/; revision=165856
* Remove the test that ensures that when the string "nan(...)" is convertedDavid Schultz2007-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. Notes: svn path=/head/; revision=165754
* Fix cut-and-paste bugs in the regression tests.David Schultz2007-01-031-2/+2
| | | | Notes: svn path=/head/; revision=165748
* Remove alpha left-overs.Ruslan Ermilov2006-08-221-3/+0
| | | | Notes: svn path=/head/; revision=161526
* Add a test program which performs some very basic tests of libmp(3).Simon L. B. Nielsen2006-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. Notes: svn path=/head/; revision=160786
* Style: NO_MAN doesn't need any value.Ruslan Ermilov2006-03-151-2/+1
| | | | Notes: svn path=/head/; revision=156735
* NOMAN --> NO_MANHajimu UMEMOTO2006-03-071-1/+1
| | | | Notes: svn path=/head/; revision=156391
* Add regression tests for trimdomain(3).Brooks Davis2005-10-055-0/+212
| | | | Notes: svn path=/head/; revision=150956
* add simple test script.Hajimu UMEMOTO2005-05-051-0/+24
| | | | Notes: svn path=/head/; revision=145901
* - add $FreeBSD$.Hajimu UMEMOTO2005-05-041-1/+2
| | | | | | | - enable -r option for regress target. Notes: svn path=/head/; revision=145885
* - add $FreeBSD$.Hajimu UMEMOTO2005-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. Notes: svn path=/head/; revision=145860
* This commit was generated by cvs2svn to compensate for changes in r145857,Hajimu UMEMOTO2005-05-043-0/+319
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=145858
| * import of parallel name resolution test.vendor/NetBSD/miscHajimu UMEMOTO2005-05-043-0/+319
| | | | | | | Obtained from: NetBSD Notes: svn path=/vendor/NetBSD/dist/; revision=145857
* Add missing test-rem.t.David Schultz2005-04-021-0/+10
| | | | Notes: svn path=/head/; revision=144533
* A few simple regression tests for remainder(), remainderf(),David Schultz2005-03-252-1/+144
| | | | | | | remquo(), and remquof(). Notes: svn path=/head/; revision=144094
* - Replace fe[gs]etmask() with feenableexcept(), fedisableexcept(), andDavid Schultz2005-03-161-12/+31
| | | | | | | | | | fegetexcept(). - Add additional tests for the above. - Output a separate success message for each of the 8 components of this set of tests. Notes: svn path=/head/; revision=143710
* Test cases for nextafter{,f,l} and nexttoward{,f,l}.David Schultz2005-03-073-1/+272
| | | | Notes: svn path=/head/; revision=143231
* - Split tests into three rough categories.David Schultz2005-03-011-6/+98
| | | | | | | | | | | | | | - Use fesetround() instead of fpsetround(), and add tests for various rounding modes. - Test that all NaNs generated are quiet. Some of these tests won't pass until problems in vendor sources (gdtoa and gcc) are fixed and new versions imported, but I want to get these changes into the tree before I accidentally blow them away again. :-( Notes: svn path=/head/; revision=142843
* - Split the printfloat test into 11 individually wrapped and packagedDavid Schultz2005-03-012-8/+100
| | | | | | | | | | | | | | | | | tests. (Buy 10, get one free!) The separate categories were already there; they just weren't labeled. - Use fesetround() instead of fpsetround(), since the former is standard and implemented on all supported architectures. Add tests for each rounding mode. - Add additional tests for subnormals. Some of these tests won't pass until problems in vendor sources (gdtoa and gcc) are fixed and new versions imported, but I want to get these changes into the tree before I accidentally blow them away. Notes: svn path=/head/; revision=142842
* Add to CFLAGS.Ruslan Ermilov2005-02-121-1/+1
| | | | Notes: svn path=/head/; revision=141750
* Add to CFLAGS, rather than overriding it. Use LDFLAGS for the -L option,Nik Clayton2005-02-011-2/+3
| | | | | | | | | and LDLIBS to specify -ltap. Submitted by: ru Notes: svn path=/head/; revision=141097
* Link against libtap (ports/devel/libtap). Replace the calls to assert()Nik Clayton2005-02-012-31/+32
| | | | | | | | with calls to libtap::ok1(), and make sure the correct number of tests is planned for, and that the exit code is correct. Notes: svn path=/head/; revision=141092
* Regression tests for [l]lrint[f]() and [l]lround[f]().David Schultz2005-01-115-1/+258
| | | | Notes: svn path=/head/; revision=140089
* Remove regression tests for the obsolete rune interface.Tim J. Robbins2004-11-215-293/+1
| | | | Notes: svn path=/head/; revision=137960
* Switch over to a different, more flexible test output protocol that'sNik Clayton2004-11-1158-42/+390
| | | | | | | | | | | | | | | | | | | | | | | understood by Perl's Test::Harness module and prove(1) commands. Update README to describe the new protocol. The work's broken down into two main sets of changes. First, update the existing test programs (shell scripts and C programs) to produce output in the ok/not ok format, and to, where possible, also produce a header describing the number of tests that are expected to be run. Second, provide the .t files that actually run the tests. In some cases these are copies of, or very similar too, scripts that already existed. I've kept the old scripts around so that it's possible to verify that behaviour under this new system (in terms of whether or not a test fails) is identical to the behaviour under the old system. Add a TODO file. Notes: svn path=/head/; revision=137587
* Add a regression test for floating-point output in the Greek locale.Giorgos Keramidas2004-10-131-0/+7
| | | | | | | | | See revision 1.3 of src/share/numericdef/el_GR.ISO8859-7.src Reviewed by: das (a while ago) Notes: svn path=/head/; revision=136497
* Add regression tests for ilogb{,f,l}().Stefan Farfeleder2004-10-112-1/+83
| | | | Notes: svn path=/head/; revision=136387
* Add test programs for mbsnrtowcs() and wcsnrtombs().Tim J. Robbins2004-07-213-0/+386
| | | | Notes: svn path=/head/; revision=132499
* Add a skeleton makefile that runs the tests out of libc/regex/grot.Tim J. Robbins2004-07-191-0/+11
| | | | Notes: svn path=/head/; revision=132392
* Oops, test error behaviour of wctrans(), not wctype().Tim J. Robbins2004-07-191-2/+2
| | | | Notes: svn path=/head/; revision=132391
* While testing fe[gs]etround(), make sure FLT_ROUNDS reflects theDavid Schultz2004-07-191-0/+10
| | | | | | | proper rounding mode as well. Notes: svn path=/head/; revision=132384
* Add qsort, mergesort and heapsort regression tests.Maxim Sobolev2004-06-255-0/+477
| | | | Notes: svn path=/head/; revision=131099
* Add some fenv.h regression tests.David Schultz2004-06-112-0/+535
| | | | Notes: svn path=/head/; revision=130330
* Fix stupid patch(1) tricks. Apparently patch thinks all files match theBrooks Davis2004-05-274-251/+0
| | | | | | | | | | empty file so if you accidently apply a patch created with diff -N twice, you get files with duplicate contents. Reported by: Antoine Brodin <antoine.brodin at laposte.net> Notes: svn path=/head/; revision=129782
* Add support for an /etc/eui64 file modeled on /etc/ethers. The API isBrooks Davis2004-05-265-0/+514
| | | | | | | | | modeled on ethers(3) except that all functions are thread-safe. Reviewed by: simokawa Notes: svn path=/head/; revision=129759
* Test accumulation of partial multibyte characters in conversionTim J. Robbins2004-05-111-0/+11
| | | | | | | state objects. Notes: svn path=/head/; revision=129115
* Reset internal conversion state after triggering conversion errors;Tim J. Robbins2004-04-073-3/+10
| | | | | | | | the state is undefined according to the standards, and our undefined behaviour has changed. Notes: svn path=/head/; revision=128005
* Add regression tests for printf's %a/%A formats.David Schultz2004-01-191-1/+38
| | | | | | | | | While here, disable some of the long double tests on i386, since FreeBSD/i386 is the only port that doesn't evaluate long doubles in their full precision (due to constant folding bugs in gcc). Notes: svn path=/head/; revision=124708
* Add regression tests for some of the bugs recently discovered in theDavid Schultz2004-01-191-4/+15
| | | | | | | | | | | vendor's strtod() implementation. While here, disable some of the long double tests on i386, since FreeBSD/i386 is the only port that doesn't evaluate long doubles in their full precision (due to constant folding bugs in gcc). Notes: svn path=/head/; revision=124707
* Work around a recently-introduced gcc bug. The compiler no longerDavid Schultz2004-01-181-1/+1
| | | | | | | | accepts certain floating point constant representations that are legal in C99. Notes: svn path=/head/; revision=124650
* Add regression tests for sgetrune() and sputrune().Tim J. Robbins2003-10-303-1/+269
| | | | Notes: svn path=/head/; revision=121732
* Add regression tests for floating point parsing in scanf(3).David Schultz2003-06-282-1/+181
| | | | Notes: svn path=/head/; revision=116969
* Regression tests for wctype(), iswctype(), wctrans(), towctrans().Tim J. Robbins2003-06-063-1/+191
| | | | Notes: svn path=/head/; revision=115894
* Add a dozen new tests with the general theme of getting trailingDavid Schultz2003-04-191-0/+12
| | | | | | | zeroes right. Notes: svn path=/head/; revision=113724