summaryrefslogtreecommitdiffstats
path: root/llvm/docs/TestingGuide.rst
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2015-11-17 02:17:35 +0000
committerDavide Italiano <davide@freebsd.org>2015-11-17 02:17:35 +0000
commit4efa3952a9feb1ba7cbcf37745c282f90f77cb29 (patch)
tree0a84e9f305cbb7a08a713b17213b8b2736cca8cf /llvm/docs/TestingGuide.rst
parent65e49021565e84ba4e96a0627a946b2211d79c59 (diff)
downloadbcm5719-llvm-4efa3952a9feb1ba7cbcf37745c282f90f77cb29.tar.gz
bcm5719-llvm-4efa3952a9feb1ba7cbcf37745c282f90f77cb29.zip
[Documentation] Add guidelines for grouping tests together.
This was considered a good practice but it was not documented. Now it is. Differential Revision: http://reviews.llvm.org/D14733 llvm-svn: 253281
Diffstat (limited to 'llvm/docs/TestingGuide.rst')
-rw-r--r--llvm/docs/TestingGuide.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/TestingGuide.rst b/llvm/docs/TestingGuide.rst
index adf5f3d4cfb..134ddd88c87 100644
--- a/llvm/docs/TestingGuide.rst
+++ b/llvm/docs/TestingGuide.rst
@@ -240,6 +240,10 @@ The recommended way to examine output to figure out if the test passes is using
the :doc:`FileCheck tool <CommandGuide/FileCheck>`. *[The usage of grep in RUN
lines is deprecated - please do not send or commit patches that use it.]*
+Put related tests into a single file rather than having a separate file per
+test. Check if there are files already covering your feature and consider
+adding your code there instead of creating a new file.
+
Extra files
-----------
OpenPOWER on IntegriCloud