[llvm] r253281 - [Documentation] Add guidelines for grouping tests together.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 16 18:17:35 PST 2015


Author: davide
Date: Mon Nov 16 20:17:35 2015
New Revision: 253281

URL: http://llvm.org/viewvc/llvm-project?rev=253281&view=rev
Log:
[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

Modified:
    llvm/trunk/docs/TestingGuide.rst

Modified: llvm/trunk/docs/TestingGuide.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/TestingGuide.rst?rev=253281&r1=253280&r2=253281&view=diff
==============================================================================
--- llvm/trunk/docs/TestingGuide.rst (original)
+++ llvm/trunk/docs/TestingGuide.rst Mon Nov 16 20:17:35 2015
@@ -240,6 +240,10 @@ The recommended way to examine output to
 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
 -----------
 




More information about the llvm-commits mailing list