From 2537f351755be8c1323154a1e447cd9e96db4488 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Tue, 17 Nov 2015 02:17:35 +0000 Subject: [PATCH] [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 --- docs/TestingGuide.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/TestingGuide.rst b/docs/TestingGuide.rst index adf5f3d4cfb..134ddd88c87 100644 --- a/docs/TestingGuide.rst +++ b/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 `. *[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 -----------