[libc] make part of libc's unit test framework independent of llvm
authorMichael Jones <michaelrj@google.com>
Mon, 16 Nov 2020 22:20:14 +0000 (22:20 +0000)
committerMichael Jones <michaelrj@google.com>
Tue, 17 Nov 2020 18:43:15 +0000 (18:43 +0000)
commita200d6cdf0f7eafafead147f2e18e5456ed7bbe1
tree6345c05ab9c263e002cbd8d6fc942b6c77f82fc8
parent4a66a1d17abfb7cf34081f0620cb2f53b40cca97
[libc] make part of libc's unit test framework independent of llvm

This is mostly changing stringref to std::string, outs() to cout,
and small supporting changes. This will make running unit tests possible
on systems that are only grabbing the libc part of llvm.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D91568
libc/utils/UnitTest/Test.cpp