[libc-commits] [PATCH] D105843: [libc] Add option to run specific tests

Caitlyn Cano via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Jul 16 09:01:00 PDT 2021


caitlyncano updated this revision to Diff 359340.
caitlyncano added a comment.
Herald added a subscriber: mgorny.

[libc] Remove Main from LibcTest.cpp

This patch takes the main function out of LibcTest.cpp and moves it to its own
file, in addition to adding infrastructure to support testing of tests by
allowing opt-in inclusion of that main or to use the main within
testfilter_test.cpp to test the runTests functionality.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105843/new/

https://reviews.llvm.org/D105843

Files:
  libc/cmake/modules/LLVMLibCTestRules.cmake
  libc/test/utils/CMakeLists.txt
  libc/utils/UnitTest/CMakeLists.txt
  libc/utils/UnitTest/LibcTest.cpp
  libc/utils/UnitTest/LibcTest.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105843.359340.patch
Type: text/x-patch
Size: 4285 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210716/6504a5c1/attachment.bin>


More information about the libc-commits mailing list