Skip to content

Commit 8c0140f

Browse files
sj-awsshuahkh
authored andcommitted
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>
1 parent 1c68cba commit 8c0140f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tools/testing/kunit/kunit.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ def create_default_kunitconfig():
3737

3838
def run_tests(linux: kunit_kernel.LinuxSourceTree,
3939
request: KunitRequest) -> KunitResult:
40-
if request.defconfig:
41-
create_default_kunitconfig()
42-
4340
config_start = time.time()
4441
success = linux.build_reconfig(request.build_dir)
4542
config_end = time.time()

0 commit comments

Comments
 (0)