aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Latypov2021-01-25 10:53:33 -0800
committerShuah Khan2021-02-08 15:41:11 -0700
commit7c2b108cbe75f993d5e69d5205a01211fa33417d (patch)
tree48b02d365ad78773a4d6c4baadded11230f29f15 /lib
parentc9ef2d3e3f3b3e56429f56bbea2d16882b054dbe (diff)
Documentation: kunit: add tips.rst for small examples
./usage.rst contains fairly long examples and explanations of things like how to fake a class and how to use parameterized tests (and how you could do table-driven tests yourself). It's not exactly necessary information, so we add a new page with more digestible tips like "use kunit_kzalloc() instead of kzalloc() so you don't have to worry about calling kfree() yourself" and the like. Change start.rst to point users to this new page first and let them know that usage.rst is more of optional further reading. Signed-off-by: Daniel Latypov <dlatypov@google.com> Reviewed-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions