Skip to content

Commit 0a83293

Browse files
dmantipovJonathan Corbet
authored andcommitted
doc: development-process: add notice on testing
Add testing notice to "Before creating patches" section. Suggested-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru> Acked-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <20260123071523.1392729-1-dmantipov@yandex.ru>
1 parent 64e4882 commit 0a83293

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Documentation/process/5.Posting.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,12 @@ sending patches to the development community. These include:
4040
- Test the code to the extent that you can. Make use of the kernel's
4141
debugging tools, ensure that the kernel will build with all reasonable
4242
combinations of configuration options, use cross-compilers to build for
43-
different architectures, etc.
43+
different architectures, etc. Add tests, likely using an existing
44+
testing framework like KUnit, and include them as a separate member
45+
of your series (see the next section for more about patch series).
46+
Note that this may be mandatory when affecting some subsystems. For
47+
example, library functions (resides under lib/) are extensively used
48+
almost everywhere and expected to be tested appropriately.
4449

4550
- Make sure your code is compliant with the kernel coding style
4651
guidelines.

0 commit comments

Comments
 (0)