OSDN Git Service

Documentation: dev-tools: Add Testing Overview
authorDavid Gow <davidgow@google.com>
Thu, 15 Apr 2021 05:40:36 +0000 (22:40 -0700)
committerJonathan Corbet <corbet@lwn.net>
Thu, 15 Apr 2021 20:53:02 +0000 (14:53 -0600)
commitc797997a244cd2c58908093509a24711fc67d146
tree28afba120f2da442c3162def50ebbc775bb87ee6
parente5143657d9916d4ff0f94c83d1eb482bf1999d5c
Documentation: dev-tools: Add Testing Overview

The kernel now has a number of testing and debugging tools, and we've
seen a bit of confusion about what the differences between them are.

Add a basic documentation outlining the testing tools, when to use each,
and how they interact.

This is a pretty quick overview rather than the idealised "kernel
testing guide" that'd probably be optimal, but given the number of times
questions like "When do you use KUnit and when do you use Kselftest?"
are being asked, it seemed worth at least having something. Hopefully
this can form the basis for more detailed documentation later.

Signed-off-by: David Gow <davidgow@google.com>
Reviewed-by: Marco Elver <elver@google.com>
Reviewed-by: Daniel Latypov <dlatypov@google.com>
Link: https://lore.kernel.org/r/20210415054036.581117-1-davidgow@google.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/dev-tools/index.rst
Documentation/dev-tools/testing-overview.rst [new file with mode: 0644]