Documentation: KUnit: make usage.rst a superset of tips.rst, remove duplication
authorDaniel Latypov <dlatypov@google.com>
Fri, 11 Nov 2022 18:29:04 +0000 (10:29 -0800)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 12 Dec 2022 21:13:47 +0000 (14:13 -0700)
commit65c48a48ead042856525b92cedf673d2bf5bdfc9
tree6eef0c52b21785b9551a70c7709f5abd479c6c74
parent697365c086791372945037557f99bc164e2db855
Documentation: KUnit: make usage.rst a superset of tips.rst, remove duplication

usage.rst had most of the content of the tips.rst page copied over.
But it's missing https://www.kernel.org/doc/html/v6.0/dev-tools/kunit/tips.html#customizing-error-messages
Copy it over so we can retire tips.rst w/o losing content.

And in that process, it also gained a duplicate section about how
KUNIT_ASSERT_*() exit the test case early. Remove that.

Signed-off-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: Sadiya Kazi <sadiyakazi@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Documentation/dev-tools/kunit/usage.rst