Guillaume Chatelet
9902fc8dad
[libc] Enable custom logging in LibcTest
...
This patch mimics the behavior of Google Test and allow users to log custom messages after all flavors of ASSERT_ / EXPECT_.
Reviewed By: sivachandra, lntue
Differential Revision: https://reviews.llvm.org/D152630
2023-06-14 13:37:50 +00:00
Guillaume Chatelet
bdb07c98c4
Revert D152630 "[libc] Enable custom logging in LibcTest"
...
Failing buildbot https://lab.llvm.org/buildbot/#/builders/73/builds/49707
This reverts commit 9a7b4c934893d6bc571e1ce8efab2127ae5f4e45.
2023-06-14 10:31:49 +00:00
Guillaume Chatelet
9a7b4c9348
[libc] Enable custom logging in LibcTest
...
This patch mimics the behavior of Google Test and allow users to log custom messages after all flavors of ASSERT_ / EXPECT_.
Reviewed By: sivachandra, lntue
Differential Revision: https://reviews.llvm.org/D152630
2023-06-14 10:26:18 +00:00
Siva Chandra Reddy
dcf296b541
[libc][NFC] Remove the StreamWrapper class and use the new test logger.
...
Reviewed By: lntue
Differential Revision: https://reviews.llvm.org/D148452
2023-04-17 15:48:18 +00:00
Guillaume Chatelet
f5dcab0d89
[re-reland][libc] Adds string and TestLogger classes, use them in LibcTest
...
This is an implementation of https://discourse.llvm.org/t/rfc-running-libc-unit-tests-as-integration-tests/69461 .
Differential Revision: https://reviews.llvm.org/D147231
2023-04-03 13:10:30 +00:00
Guillaume Chatelet
5a55dfb80c
Revert D147231 "[reland][libc] Adds string and TestLogger classes, use them in LibcTest"
...
Build bot detected a memory leak.
This reverts commit b82d04ea4b4f26037be369f101ae7011975df486.
2023-04-03 07:47:15 +00:00
Guillaume Chatelet
b82d04ea4b
[reland][libc] Adds string and TestLogger classes, use them in LibcTest
...
This is an implementation of https://discourse.llvm.org/t/rfc-running-libc-unit-tests-as-integration-tests/69461 .
Differential Revision: https://reviews.llvm.org/D147231
2023-04-03 07:35:37 +00:00
Guillaume Chatelet
ebb41f7e3d
Revert D147231 "[libc] Adds string and TestLogger classes, use them in LibcTest"
...
Does not build with gcc.
This reverts commit fc5ae0a7a45bdb5251f3dad3fc07047f987ca447.
2023-04-02 16:02:00 +00:00
Guillaume Chatelet
fc5ae0a7a4
[libc] Adds string and TestLogger classes, use them in LibcTest
...
This is an implementation of https://discourse.llvm.org/t/rfc-running-libc-unit-tests-as-integration-tests/69461 .
Differential Revision: https://reviews.llvm.org/D147231
2023-04-02 15:33:23 +00:00