summaryrefslogtreecommitdiffstats
path: root/tools/regression/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* A few simple regression tests for remainder(), remainderf(),das2005-03-252-1/+144
| | | | remquo(), and remquof().
* - Replace fe[gs]etmask() with feenableexcept(), fedisableexcept(), anddas2005-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.
* Test cases for nextafter{,f,l} and nexttoward{,f,l}.das2005-03-073-1/+272
|
* - Split tests into three rough categories.das2005-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. :-(
* - Split the printfloat test into 11 individually wrapped and packageddas2005-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.
* Add to CFLAGS.ru2005-02-121-1/+1
|
* Add to CFLAGS, rather than overriding it. Use LDFLAGS for the -L option,nik2005-02-011-2/+3
| | | | | | and LDLIBS to specify -ltap. Submitted by: ru
* Link against libtap (ports/devel/libtap). Replace the calls to assert()nik2005-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.
* Regression tests for [l]lrint[f]() and [l]lround[f]().das2005-01-115-1/+258
|
* Remove regression tests for the obsolete rune interface.tjr2004-11-215-293/+1
|
* Switch over to a different, more flexible test output protocol that'snik2004-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.
* Add a regression test for floating-point output in the Greek locale.keramida2004-10-131-0/+7
| | | | | | See revision 1.3 of src/share/numericdef/el_GR.ISO8859-7.src Reviewed by: das (a while ago)
* Add regression tests for ilogb{,f,l}().stefanf2004-10-112-1/+83
|
* Add test programs for mbsnrtowcs() and wcsnrtombs().tjr2004-07-213-0/+386
|
* Add a skeleton makefile that runs the tests out of libc/regex/grot.tjr2004-07-191-0/+11
|
* Oops, test error behaviour of wctrans(), not wctype().tjr2004-07-191-2/+2
|
* While testing fe[gs]etround(), make sure FLT_ROUNDS reflects thedas2004-07-191-0/+10
| | | | proper rounding mode as well.
* Add qsort, mergesort and heapsort regression tests.sobomax2004-06-255-0/+477
|
* Add some fenv.h regression tests.das2004-06-112-0/+535
|
* Fix stupid patch(1) tricks. Apparently patch thinks all files match thebrooks2004-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>
* Add support for an /etc/eui64 file modeled on /etc/ethers. The API isbrooks2004-05-265-0/+514
| | | | | | modeled on ethers(3) except that all functions are thread-safe. Reviewed by: simokawa
* Test accumulation of partial multibyte characters in conversiontjr2004-05-111-0/+11
| | | | state objects.
* Reset internal conversion state after triggering conversion errors;tjr2004-04-073-3/+10
| | | | | the state is undefined according to the standards, and our undefined behaviour has changed.
* Add regression tests for printf's %a/%A formats.das2004-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).
* Add regression tests for some of the bugs recently discovered in thedas2004-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).
* Work around a recently-introduced gcc bug. The compiler no longerdas2004-01-181-1/+1
| | | | | accepts certain floating point constant representations that are legal in C99.
* Add regression tests for sgetrune() and sputrune().tjr2003-10-303-1/+269
|
* Add regression tests for floating point parsing in scanf(3).das2003-06-282-1/+181
|
* Regression tests for wctype(), iswctype(), wctrans(), towctrans().tjr2003-06-063-1/+191
|
* Add a dozen new tests with the general theme of getting trailingdas2003-04-191-0/+12
| | | | zeroes right.
* Add a test case for printf("%5.0f", 0.001).das2003-04-141-0/+2
|
* Additional regression tests for grouping, parsing of '.*', and printingdas2003-04-071-0/+9
| | | | of %f formats where the number of significant digits is < expt.
* Test for bug in revision 1.54 of vfprintf.c.tjr2003-04-061-0/+3
|
* Regression tests for printf()'s floating point formats.das2003-04-052-1/+168
| | | | Tests for correct printing of subnormals are lacking.
* Write negative zero as '-0.0'. Otherwise, it is parsed as an integerdas2003-03-271-2/+2
| | | | before being cast to a floating point type, and the sign is lost.
* Add more tests. Specifically, infinity cast from other types shouldmike2003-02-081-0/+6
| | | | always be classified as infinity.
* Add regression test for soon-to-be-committed fpclassify().mike2003-02-052-1/+70
|
* Add a regression test for wordexp() and wordfree().tjr2003-01-042-0/+185
|
* Add a test program for perror() that demonstrates two bugs in thetjr2002-12-192-0/+116
| | | | current implementation.
* Test that if the buffer argument (`s') to wcrtomb() is NULL thentjr2002-12-191-19/+15
| | | | | | the value of the supplied wide character is ignored and L'\0' is used instead. Remove incorrect comments about "internal buffer" since wcrtomb() does not have one (wctomb() does).
* Add regression test for strerror()/strerror_r().mike2002-12-182-0/+141
| | | | Based on: src/lib/libc/string/strerror.c (rev 1.8)
* Add test cases for btowc() and wctob() in multibyte locales.tjr2002-11-101-1/+14
|
* Test for the zero-length buffer bug corrected in mbrtowc.c revision 1.3.tjr2002-11-101-0/+7
|
* Add regression tests for mblen(), mbtowc(), wctomb(), mbstowcs() andtjr2002-11-096-1/+580
| | | | wcstombs(). These tests have already found two libc bugs.
* Add missing #includes of <stdio.h>. Correct a few typos in comments.tjr2002-11-063-5/+7
|
* Simplify by using inference rules properly.tjr2002-10-281-22/+10
|
* Add tests for btowc(), mbrlen(), mbsrtowcs() and wcsrtombs().tjr2002-10-265-2/+501
|
* Add regression tests for mbrtowc(3) and wcrtomb(3).tjr2002-10-263-0/+291
OpenPOWER on IntegriCloud