summaryrefslogtreecommitdiff
path: root/Tests/LibC/CMakeLists.txt
AgeCommit message (Collapse)Author
2022-11-19LibC+Tests: Simplify getpwuid_r() and getpwnam_r() and add testsAndreas Kling
These functions are now implemented in terms of getpwent_r() which allows us to remove two FIXMEs about global variable shenanigans. I'm also adding tests for both APIs. :^)
2022-10-27Tests: Add pthread scheduler priority testskleines Filmröllchen
2022-09-16Tests: Move the former LibM test into the LibC namespaceTim Schumacher
2022-07-22Tests: Add tests for `pthread_setcancel{state,type}`Tim Schumacher
We likely won't be able to test `pthread_cancel` itself, but this at least makes sure that we use the correct values by default and that we correctly reject invalid values.
2022-07-19Tests: Move the LibPthread tests to the correct namespaceTim Schumacher
2022-06-30Tests: Add tests for <ctype.h> functions declared in the C StandardAndrew Kaster
2022-05-20Tests: Add tests for posix_memalign(3) and aligned_alloc(3)Peter Elliott
2022-02-13Tests: Add test for LibC mkdir()Max Wipfli
2022-01-16Tests: Test whether stdio streams are flushed correctly on exitDaniel Bertalan
2022-01-16LibC: Make `*alloc` return `NULL` in case of failure (POSIX)Michel Hermier
2021-12-19Tests: Add test for `raise`Michel Hermier
2021-12-19Tests: Add test for `assert`Michel Hermier
2021-12-19Tests: Add test for `abort`Michel Hermier
2021-10-15LibC: Implement tfind and tsearchTim Schumacher
2021-09-18LibC: Primitively implement wcscollTim Schumacher
At the moment, sorting like LC_COLLATE=C would do is better than nothing.
2021-09-17LibC: Implement wctypeTim Schumacher
2021-09-01Tests: Convert remaining LibC tests to LibTestAndrew Kaster
Convert them to using outln instead of printf at the same time.
2021-08-26Tests: Test setjmp/sigsetjmp LibC functionsJean-Baptiste Boric
Since there are no real users of these functions in Serenity's userland and this is my third attempt at this... This time, the great LibTest test suite will make sure that I do it right!
2021-07-11Userland+Tests: Convert test_io to be LibTest basedAndrew Kaster
Add a few extra tests as well, to make sure we don't have any future TmpFs regressions.
2021-07-06Tests+Base: Convert stack-smash to be LibTest based and stop skipping itAndrew Kaster
Now that the test is converted to be LibTest based, we can remove it from the exclude list in /home/anon/.config/Tests.ini. Prior to this it would crash and fail because it was signaled instead of returning normally with exit code 0.
2021-05-25LibC: Implement strerror_r()Gunnar Beutner
This implements the XSI-compliant version of strerror_r() - as opposed to the GNU-specific variant. The function explicitly saves errno so as to not accidentally change it with one of the calls to other functions.
2021-05-12Tests: Add InodeWatcher and FileWatcher testssin-ack
This patch adds some rudimentary tests for InodeWatcher. It tests the basic functionality, but maybe there are corner cases I haven't caught. Additionally, this is our first LibCore test. :^)
2021-05-06Tests: Establish root Tests directory, move Userland/Tests thereBrian Gianforcaro
With the goal of centralizing all tests in the system, this is a first step to establish a Tests sub-tree. It will contain all of the unit tests and test harnesses for the various components in the system.