diff options
author | SeongJae Park <sjpark@amazon.de> | 2019-12-20 06:14:04 +0100 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2019-12-23 18:52:40 +0100 |
commit | 8c0140facb380da5740182d189be0b0d9deadb3d (patch) | |
tree | ad8201cc830362da02577d95e707ba897701b1fa /tools/testing/kunit/kunit.py | |
parent | docs/kunit/start: Use in-tree 'kunit_defconfig' (diff) | |
download | linux-8c0140facb380da5740182d189be0b0d9deadb3d.tar.xz linux-8c0140facb380da5740182d189be0b0d9deadb3d.zip |
kunit: Remove duplicated defconfig creation
'--defconfig' option is handled by the 'main() of the 'kunit.py' but
again handled in following 'run_tests()'. This commit removes this
duplicated handling of the option in the 'run_tests()'.
Signed-off-by: SeongJae Park <sjpark@amazon.de>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Tested-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/kunit/kunit.py')
-rwxr-xr-x | tools/testing/kunit/kunit.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/testing/kunit/kunit.py b/tools/testing/kunit/kunit.py index efe06d621983..f8f26951cd1b 100755 --- a/tools/testing/kunit/kunit.py +++ b/tools/testing/kunit/kunit.py @@ -37,9 +37,6 @@ def create_default_kunitconfig(): def run_tests(linux: kunit_kernel.LinuxSourceTree, request: KunitRequest) -> KunitResult: - if request.defconfig: - create_default_kunitconfig() - config_start = time.time() success = linux.build_reconfig(request.build_dir) config_end = time.time() |