[libc-commits] [PATCH] D94625: [libc][NFC] add macro for fuchsia to switch test backend to zxtest
Michael Jones via Phabricator via libc-commits
libc-commits at lists.llvm.org
Wed Jan 13 11:41:10 PST 2021
michaelrj created this revision.
michaelrj added a reviewer: sivachandra.
Herald added subscribers: libc-commits, ecnelises, phosek, tschuett, mgorny.
Herald added a project: libc-project.
michaelrj requested review of this revision.
This moves utils/UnitTest/Test.[h/cpp] to LibcTest.[h/cpp] and adds a
new Test.h that acts as a switcher so that Fuchsia can use the zxtest
backend for running our tests as part of their build.
FuchsiaTest.h is for including fuchsia's zxtest library and anything
else needed to make the tests work under fuchsia (currently just
undefining the isascii macro for the test).
DOWNSTREAM: PLEASE DON'T REVERT THIS CHANGE BLINDLY
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D94625
Files:
libc/utils/UnitTest/CMakeLists.txt
libc/utils/UnitTest/FuchsiaTest.h
libc/utils/UnitTest/LibcTest.cpp
libc/utils/UnitTest/LibcTest.h
libc/utils/UnitTest/Test.cpp
libc/utils/UnitTest/Test.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94625.316472.patch
Type: text/x-patch
Size: 14035 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210113/d87ee654/attachment-0001.bin>
More information about the libc-commits
mailing list