From: SeongJae Park Date: Fri, 20 Dec 2019 05:14:04 +0000 (+0000) Subject: kunit: Remove duplicated defconfig creation X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8c0140facb380da5740182d189be0b0d9deadb3d;p=linux.git 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 Reviewed-by: Brendan Higgins Tested-by: Brendan Higgins Signed-off-by: Shuah Khan --- diff --git a/tools/testing/kunit/kunit.py b/tools/testing/kunit/kunit.py index efe06d6219837..f8f26951cd1b5 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()