Reapply "[cmake] Prefix gtest and gtest_main with "llvm_"."This reverts commit 7cdda6b8ce49ae3c90c068cff4dc355bba5d77f2.Differential Revision: https://reviews.llvm.org/D121020
Revert "[cmake] Prefix gtest and gtest_main with "llvm_"."lldb buildbot failure. will investigate and roll forward.This reverts commit 9f37775472b45986b0ecce5243bd6ce119e5bd69.
[cmake] Prefix gtest and gtest_main with "llvm_".The upstream project ships CMake rules for building vanilla gtest/gmock which conflict with the names chosen by LLVM. Since LLVM's build rules here
[cmake] Prefix gtest and gtest_main with "llvm_".The upstream project ships CMake rules for building vanilla gtest/gmock which conflict with the names chosen by LLVM. Since LLVM's build rules here are quite specific to LLVM, prefixing them to avoid collision is the right thing (i.e. there does not appear to be a path to letting someone *replace* LLVM's googletest with one they bring, so co-existence should be the goal).This allows LLVM to be included with testing enabled within projects that themselves have a dependency on an official gtest release.Reviewed By: mehdi_aminiDifferential Revision: https://reviews.llvm.org/D120789
show more ...
[libc][NFC] add "LlvmLibc" as a prefix to all test namesSummary:Having a consistent prefix makes selecting all of the llvm libc testseasier on any platform that is also using the gtest framework.
[libc][NFC] add "LlvmLibc" as a prefix to all test namesSummary:Having a consistent prefix makes selecting all of the llvm libc testseasier on any platform that is also using the gtest framework.This also modifies the TEST and TEST_F macros to enforce this changemoving forward.Reviewers: sivachandraSubscribers:
[libc][Obvious] Fix typo is wrappergen unittest.
[libc] Refactor WrapperGen to make the flow cleaner.Reviewed By: michaelrjDifferential Revision: https://reviews.llvm.org/D93417
[libc] Let wrappergen pick LLVM libc mangled name from aliasee file.Along the way, made a change to run tool unittests when the target"check-libc" is run by introducing a libc testsuite for tool u
[libc] Let wrappergen pick LLVM libc mangled name from aliasee file.Along the way, made a change to run tool unittests when the target"check-libc" is run by introducing a libc testsuite for tool unittests.Reviewed By: michaelrjDifferential Revision: https://reviews.llvm.org/D93142
[libc] add tests to WrapperGenThis adds an initial test that can serve as a basis for other tests onwrappergen.Reviewed By: sivachandraDifferential Revision: https://reviews.llvm.org/D92137