summaryrefslogtreecommitdiffstats
path: root/libc/docs
diff options
context:
space:
mode:
authorSiva Chandra Reddy <sivachandra@google.com>2020-01-03 12:00:45 -0800
committerSiva Chandra Reddy <sivachandra@google.com>2020-01-06 10:14:43 -0800
commit5b24c088171d3bd7a8ff559c82926e5d4b04f032 (patch)
tree54ac5d666fef87a0e6337e388f6f5087c18e9ef9 /libc/docs
parent0239526cccf8aa708e29eeb7e49de8f6dc6c1a5f (diff)
downloadbcm5719-llvm-5b24c088171d3bd7a8ff559c82926e5d4b04f032.tar.gz
bcm5719-llvm-5b24c088171d3bd7a8ff559c82926e5d4b04f032.zip
[libc] Move all tests to a top level `test` directory.
A toplevel target, `check-libc` has also been added. Reviewers: abrachet, phosek Tags: #libc-project Differential Revision: https://reviews.llvm.org/D72177
Diffstat (limited to 'libc/docs')
-rw-r--r--libc/docs/source_layout.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/libc/docs/source_layout.rst b/libc/docs/source_layout.rst
index b06ad96e1b8..685798c1957 100644
--- a/libc/docs/source_layout.rst
+++ b/libc/docs/source_layout.rst
@@ -11,6 +11,7 @@ directories::
- lib
- loader
- src
+ - test
+ utils
- build_scripts
- testing
@@ -69,6 +70,15 @@ further organized as follows:
implementation standard document explains more about the *header*
directories.
+The ``test`` directory
+----------------------
+
+This directory contains tests for the various components of llvm-libc. The
+directory structure within this directory mirrors the directory structure of the
+toplevel ``libc`` directory itself. A test for, say the ``mmap`` function, lives
+in the directory ``test/src/sys/mman/`` as implementation of ``mmap`` lives in
+``src/sys/mman``.
+
The ``www`` directory
---------------------
OpenPOWER on IntegriCloud