kunit: kunit.py extract handlers
authorAlexander Pantyukhin <apantykhin@gmail.com>
Sat, 21 Jan 2023 21:27:17 +0000 (02:27 +0500)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 8 Feb 2023 21:25:30 +0000 (14:25 -0700)
commit2dc9d6ca52a47fd00822e818c2a5e48fc5fbbd53
treed10ba6dd3ab675c0f60537831d7036daba3f23a9
parent1fdc6f4f274748f43ebb93eeaaa23c3c69f9c3a5
kunit: kunit.py extract handlers

The main function contains a wide if-elif block that handles different
subcommands. It's possible to make code refactoring to extract
subcommands handlers.

Fixed commit summary line.
Shuah Khan <skhan@linuxfoundation.org>

Signed-off-by: Alexander Pantyukhin <apantykhin@gmail.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/kunit/kunit.py