1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-24 01:09:38 -05:00
linux/lib/kunit
Alan Maguire c3bba690a2 kunit: subtests should be indented 4 spaces according to TAP
Introduce KUNIT_SUBTEST_INDENT macro which corresponds to 4-space
indentation and KUNIT_SUBSUBTEST_INDENT macro which corresponds to
8-space indentation in line with TAP spec (e.g. see "Subtests"
section of https://node-tap.org/tap-protocol/).

Use these macros in place of one or two tabs in strings to clarify
why we are indenting.

Suggested-by: Frank Rowand <frowand.list@gmail.com>
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Reviewed-by: Frank Rowand <frank.rowand@sony.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2020-03-26 14:08:41 -06:00
..
assert.c kunit: subtests should be indented 4 spaces according to TAP 2020-03-26 14:08:41 -06:00
debugfs.c
debugfs.h
Kconfig
kunit-example-test.c
kunit-test.c kunit: add log test 2020-03-26 14:08:01 -06:00
Makefile
string-stream-test.c
string-stream.c
string-stream.h
test.c kunit: subtests should be indented 4 spaces according to TAP 2020-03-26 14:08:41 -06:00
try-catch-impl.h
try-catch.c