diff --git a/llvm/docs/TestingGuide.rst b/llvm/docs/TestingGuide.rst index adf5f3d4cfbd..134ddd88c87d 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 `. *[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 -----------