[libc-commits] [PATCH] D78886: [libc] Wrap unittests in __llvm_libc namespace. NFC

Paula Toth via Phabricator via libc-commits libc-commits at lists.llvm.org
Sun Apr 26 16:28:06 PDT 2020


PaulkaToast created this revision.
PaulkaToast added a project: libc-project.
Herald added subscribers: libc-commits, tschuett.
PaulkaToast added reviewers: abrachet, sivachandra.

Some of our tests were wrapped in `__llvm_libc` namespace, while other were not. This patch makes them consistent and prevent upcoming test `CalleeNamespaceCheck` from triggering on things like `memcpy_test` helper functions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78886

Files:
  libc/test/config/linux/x86_64/syscall_test.cpp
  libc/test/loader/linux/args_test.cpp
  libc/test/src/assert/assert_test.cpp
  libc/test/src/errno/errno_test.cpp
  libc/test/src/signal/raise_test.cpp
  libc/test/src/signal/sigaction_test.cpp
  libc/test/src/signal/sigaddset_test.cpp
  libc/test/src/signal/sigdelset_test.cpp
  libc/test/src/signal/sigfillset_test.cpp
  libc/test/src/signal/signal_test.cpp
  libc/test/src/signal/sigprocmask_test.cpp
  libc/test/src/stdio/fwrite_test.cpp
  libc/test/src/stdlib/_Exit_test.cpp
  libc/test/src/stdlib/abort_test.cpp
  libc/test/src/string/memcpy_test.cpp
  libc/test/src/string/strcat_test.cpp
  libc/test/src/string/strcpy_test.cpp
  libc/test/src/string/strlen_test.cpp
  libc/test/src/sys/mman/linux/mmap_test.cpp
  libc/test/src/threads/mtx_test.cpp
  libc/test/src/threads/thrd_test.cpp
  libc/test/src/unistd/write_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78886.260185.patch
Type: text/x-patch
Size: 12367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20200426/f8274d03/attachment.bin>


More information about the libc-commits mailing list