Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
BazelFilePath.cpp | H A D | 12-Jul-2024 | 923 | 26 | 10 | |
CMakeLists.txt | H A D | 06-Sep-2024 | 4.5 KiB | 190 | 175 | |
CmakeFilePath.cpp | H A D | 12-Jul-2024 | 719 | 21 | 8 | |
ErrnoSetterMatcher.h | H A D | 12-Jul-2024 | 5.8 KiB | 188 | 143 | |
ExecuteFunction.h | H A D | 12-Jul-2024 | 1.5 KiB | 53 | 33 | |
ExecuteFunctionUnix.cpp | H A D | 09-Jan-2025 | 2.5 KiB | 82 | 56 | |
FEnvSafeTest.cpp | H A D | 12-Jul-2024 | 3 KiB | 85 | 59 | |
FEnvSafeTest.h | H A D | 12-Jul-2024 | 3.8 KiB | 102 | 47 | |
FPExceptMatcher.cpp | H A D | 09-Jan-2025 | 1.6 KiB | 58 | 36 | |
FPExceptMatcher.h | H A D | 12-Jul-2024 | 2.1 KiB | 69 | 41 | |
FPMatcher.h | H A D | 28-Jan-2025 | 20.9 KiB | 236 | 193 | |
GTest.h | H A D | 12-Jul-2024 | 761 | 24 | 9 | |
HermeticTestUtils.cpp | H A D | 17-Jul-2024 | 5.4 KiB | 139 | 75 | |
LibcDeathTestExecutors.cpp | H A D | 09-Jan-2025 | 3.2 KiB | 105 | 80 | |
LibcTest.cpp | H A D | 12-Nov-2024 | 9.2 KiB | 300 | 240 | |
LibcTest.h | H A D | 30-Oct-2024 | 21.2 KiB | 500 | 333 | |
LibcTestMain.cpp | H A D | 12-Aug-2024 | 1.9 KiB | 53 | 27 | |
MemoryMatcher.cpp | H A D | 03-Dec-2024 | 2.1 KiB | 83 | 63 | |
MemoryMatcher.h | H A D | 12-Jul-2024 | 2.6 KiB | 70 | 43 | |
PlatformDefs.h | H A D | 28-Feb-2024 | 575 | 17 | 6 | |
PrintfMatcher.cpp | H A D | 12-Jul-2024 | 3.4 KiB | 104 | 84 | |
PrintfMatcher.h | H A D | 05-Oct-2024 | 1.4 KiB | 43 | 23 | |
README.md | H A D | 06-Feb-2023 | 836 | 24 | 16 | |
RoundingModeUtils.cpp | H A D | 12-Jul-2024 | 1.4 KiB | 52 | 37 | |
RoundingModeUtils.h | H A D | 12-Jul-2024 | 1.1 KiB | 38 | 21 | |
ScanfMatcher.cpp | H A D | 12-Jul-2024 | 3 KiB | 103 | 80 | |
ScanfMatcher.h | H A D | 05-Oct-2024 | 1.4 KiB | 43 | 23 | |
StringUtils.h | H A D | 12-Jul-2024 | 1.4 KiB | 38 | 21 | |
Test.h | H A D | 22-Apr-2024 | 2.3 KiB | 51 | 17 | |
TestLogger.cpp | H A D | 12-Jul-2024 | 3.2 KiB | 90 | 64 | |
TestLogger.h | H A D | 12-Jul-2024 | 925 | 28 | 12 | |
ZxTest.h | H A D | 12-Jul-2024 | 1.6 KiB | 41 | 18 |
README.md
1# The LLVM libc unit test framework 2 3This directory contains a lightweight implementation of a 4[gtest](https://github.com/google/googletest) like unit test framework for LLVM 5libc. 6 7## Why not gtest? 8 9While gtest is great, featureful and time tested, it uses the C and C++ 10standard libraries. Hence, using it to test LLVM libc (which is also an 11implementation of the C standard libraries) causes various kinds of 12mixup/conflict problems. 13 14## How is it different from gtest? 15 16LLVM libc's unit test framework is much less featureful as compared to gtest. 17But, what is available strives to be exactly like gtest. 18 19## Will it be made as featureful as gtest in future? 20 21It is not clear if LLVM libc needs/will need every feature of gtest. We only 22intend to extend it on an _as needed_ basis. Hence, it might never be as 23featureful as gtest. 24