[all-commits] [llvm/llvm-project] d2be98: [libc] Clean up alternate test framework support (...
Roland McGrath via All-commits
all-commits at lists.llvm.org
Mon Apr 22 15:18:23 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d2be9826ddf17378a684ee42e3ac2a17a1c63fa8
https://github.com/llvm/llvm-project/commit/d2be9826ddf17378a684ee42e3ac2a17a1c63fa8
Author: Roland McGrath <mcgrathr at google.com>
Date: 2024-04-22 (Mon, 22 Apr 2024)
Changed paths:
M libc/src/__support/OSUtil/fuchsia/io.h
M libc/test/UnitTest/FPExceptMatcher.cpp
M libc/test/UnitTest/FPExceptMatcher.h
R libc/test/UnitTest/FuchsiaTest.h
A libc/test/UnitTest/GTest.h
M libc/test/UnitTest/LibcTest.h
M libc/test/UnitTest/MemoryMatcher.cpp
M libc/test/UnitTest/MemoryMatcher.h
R libc/test/UnitTest/PigweedTest.h
M libc/test/UnitTest/Test.h
A libc/test/UnitTest/ZxTest.h
Log Message:
-----------
[libc] Clean up alternate test framework support (#89659)
This replaces the old macros LIBC_COPT_TEST_USE_FUCHSIA and
LIBC_COPT_TEST_USE_PIGWEED with LIBC_COPT_TEST_ZXTEST and
LIBC_COPT_TEST_GTEST, respectively. These are really not about
whether the code is in the Fuchsia build or in the Pigweed build,
but just about what test framework is being used. The gtest
framework can be used in many contexts, and the zxtest framework
is not always what's used in the Fuchsia build.
The test/UnitTest/Test.h wrapper header now provides the macro
LIBC_TEST_HAS_MATCHERS() for use in `#if` conditionals on use of
gmock-style matchers, replacing `#if` conditionals that test the
framework selection macros directly.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list