History log of /src/tests/lib/libc/stdlib/Makefile |
Revision | | Date | Author | Comments |
1.36 |
| 18-Sep-2025 |
mrg | introduce a couple of new turn-off-gcc-warning variables and use them.
GCC 14 has a new annoying calloc() checker that we turn off in a bunch of places, and there are a few more dangling-pointer issuse that come up, but seem bogus.
|
1.35 |
| 02-Mar-2025 |
riastradh | libc: New _r variants of heapsort, mergesort, qsort.
Also kheapsort_r for kernel/standalone use.
These variants allow the caller to pass a cookie through to the comparison function, e.g. if you want to sort an array of indices into a buffer.
qsort_r is new in POSIX.1-2024; the others are obvious analogues of our nonstandard extensions for heapsort and mergesort.
PR lib/58931: qsort_r() missing
|
1.34 |
| 04-Jul-2023 |
riastradh | branches: 1.34.2; t_posix_memalign: Expand test cases and properties.
- Test cartesian product of a sampling of sizes and a sampling of alignments.
- Verify all the edge cases I could find in posix_memalign and aligned_alloc, including failure modes.
- Test an unreasonably large (but aligned) allocation size.
- Use ATF_CHECK_* instead of ATF_REQUIRE_* so all failures will be reported, not just the first one.
- While here, build with -fno-builtin-aligned_alloc and with -fno-builtin-posix_memalign to make sure the compiler doesn't try any shenanigans.
XXX pullup-10
|
1.33 |
| 01-Jul-2020 |
jruoho | branches: 1.33.6; Add basic checks for a64l(3), l64a(3), and l64a_r(3).
|
1.32 |
| 30-Jun-2020 |
jruoho | After a comedy of errors, move t_mbtowc to its final resting place.
|
1.31 |
| 29-Jun-2020 |
jruoho | Use -Wl,--no-fatal-warnings for the mktemp(3) test.
|
1.30 |
| 27-Jun-2020 |
jruoho | Start moving the remaining tests from src/regress to src/tests.
|
1.29 |
| 27-Jun-2020 |
jruoho | Move the test for mktemp(3) to the right place.
|
1.28 |
| 22-Dec-2015 |
christos | Add __TEST_FENV
|
1.27 |
| 22-Dec-2015 |
martin | Sync list of fenv enabled architectures again (PR 48633), this time for mips addition.
|
1.26 |
| 21-Dec-2015 |
martin | While PR 48633 is not properly fixed, keep the additional lists of fenv-enabled architectures in sync.
|
1.25 |
| 01-May-2015 |
christos | - new test for strtoi - namespace protection for strto{i,u} - separate manpages for strto{i,u} from the ones for strto{u,}l From: Kamil Rytarowski
|
1.24 |
| 27-Dec-2014 |
martin | Move the list of <fenv.h> supporting architectures to the makefile and sync it with other copies.
|
1.23 |
| 04-Apr-2012 |
joerg | branches: 1.23.10; Try fixing t_strtod to not depend on -ffloat-store by adding the necessary volatiles.
|
1.22 |
| 29-Mar-2012 |
jruoho | Few fundamental consistency checks for the abs(3) family.
|
1.21 |
| 29-Mar-2012 |
jruoho | Few naive consistency checks for the atoi(3) family.
|
1.20 |
| 28-Mar-2012 |
jruoho | Add a small test that checks that random(3) does not always return zero when the RNG is initialized with zero. Prompoted by the recent nasty bug in the OpenBSD libc.
|
1.19 |
| 24-Feb-2012 |
joerg | Restrict -ffloat-store to t_strtod.c.
|
1.18 |
| 11-Sep-2011 |
jruoho | branches: 1.18.2; See that system(3) works.
|
1.17 |
| 15-Jul-2011 |
jruoho | Fix wrong linker flag that has always been lurking here.
|
1.16 |
| 15-Jul-2011 |
jruoho | Split out the -lpthread tests to a separate file.
XXX: The only thing gained from this is seeing whether -lpthread breaks the getenv(3) family. Yet, a strict hypothesis about this would require that the two test files are identical, which they are not.
|
1.15 |
| 07-Jul-2011 |
jruoho | Merge 't_environment' and 't_environment_pth'.
|
1.14 |
| 04-Jun-2011 |
jruoho | Add some tests for strtol(3).
|
1.13 |
| 04-Jun-2011 |
jruoho | Add -ffloat-store add test lib/45020 also with __isnanl().
|
1.12 |
| 09-May-2011 |
jruoho | branches: 1.12.2; Few basic tests for exit(3).
|
1.11 |
| 05-Apr-2011 |
jruoho | Try to maintain the structure of libc and move 't_strtox' to 't_strtod'.
|
1.10 |
| 05-Apr-2011 |
jruoho | Add simple test cases for ttyname(3), strtod(3), and getgrent(3).
|
1.9 |
| 13-Jan-2011 |
pgoyette | Moving t_hsearch - belongs in stdlib/
|
1.8 |
| 12-Jan-2011 |
pgoyette | Put the atexit test where it belongs - in libc/stdlib/
|
1.7 |
| 01-Jan-2011 |
pgoyette | Convert a few more tests from regress to atf
|
1.6 |
| 23-Dec-2010 |
pgoyette | Migrate a couple more tests to aft
|
1.5 |
| 03-Dec-2010 |
njoly | Add testcase for PR/44189: strtod(3) wrong results with "-0x".
|
1.4 |
| 16-Nov-2010 |
tron | Split threaded environment test for the other environment tests as suggested by Nicolas Joly in private e-mail. Linking a binary with "libpthread" effects the beaviour of "libc" and we really want to test both cases.
|
1.3 |
| 14-Nov-2010 |
tron | Add a new regression test "t_threaded" which tests using getenv_r(3), putenv(3), setenv(3) and unsetenv(3) concurrently.
|
1.2 |
| 23-Sep-2010 |
christos | unit test for environment. Grr, someone should make fixing the sets easier otherwise people are not going to want to write unit-tests.
|
1.1 |
| 20-Jul-2009 |
joerg | Add a fast, platform independent hash function to libc. The algorithm used is the Jenkins hash. The name (mi_vector_hash) reflects the nature of the hash function. Add glue for libc ATF tests and include a test case to make sure that (mis)alignment and endianess are handled correctly.
Bump libc minor to 169.
|
1.12.2.1 |
| 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.18.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.23.10.1 |
| 16-May-2015 |
snj | Pull up following revision(s) (requested by christos in ticket #781): common/lib/libc/stdlib/strtoi.c: revision 1.2 common/lib/libc/stdlib/strtou.c: revision 1.2 distrib/sets/lists/debug/mi: revision 1.113 distrib/sets/lists/tests/mi: revision 1.617 lib/libc/include/namespace.h: revision 1.178 lib/libc/stdlib/Makefile.inc: revision 1.90 via patch lib/libc/stdlib/strtoi.3: revisions 1.1, 1.2 lib/libc/stdlib/strtol.3: revision 1.32 lib/libc/stdlib/strtou.3: revisions 1.1, 1.2 lib/libc/stdlib/strtoul.3: revisions 1.30, 1.31 tests/lib/libc/stdlib/Makefile: revision 1.25 tests/lib/libc/stdlib/t_strtoi.c: revision 1.1 - new test for strtoi - namespace protection for strto{i,u} - separate manpages for strto{i,u} from the ones for strto{u,}l From: Kamil Rytarowski -- Sort ERRORS and SEE ALSO. -- Sort ERRORS and SEE ALSO. -- Sort SEE ALSO.
|
1.33.6.1 |
| 24-Aug-2024 |
martin | Pull up following revision(s) (requested by riastradh in ticket #808):
tests/lib/libc/stdlib/t_posix_memalign.c: revision 1.6 tests/lib/libc/stdlib/t_posix_memalign.c: revision 1.7 tests/lib/libc/stdlib/Makefile: revision 1.34
t_posix_memalign: Expand test cases and properties. - Test cartesian product of a sampling of sizes and a sampling of alignments. - Verify all the edge cases I could find in posix_memalign and aligned_alloc, including failure modes. - Test an unreasonably large (but aligned) allocation size. - Use ATF_CHECK_* instead of ATF_REQUIRE_* so all failures will be reported, not just the first one. - While here, build with -fno-builtin-aligned_alloc and with -fno-builtin-posix_memalign to make sure the compiler doesn't try any shenanigans.
t_posix_memalign: Fix this to reflect restriction lifted in C17.
|
1.34.2.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|