• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

CMakeLists.txtD23-Nov-2023242 98

README.mdD23-Nov-2023836 2416

Test.cppD23-Nov-202312 KiB351277

Test.hD23-Nov-202311 KiB261187

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