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

..03-May-2022-

FuchsiaTest.hH A D28-Jun-2021542 154

LibcTest.cppH A D28-Jun-202112 KiB351277

LibcTest.hH A D28-Jun-202111.7 KiB277202

README.mdH A D28-Jun-2021836 2416

Test.hH A D28-Jun-2021588 198

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