32
32
KunitParseRequest = namedtuple ('KunitParseRequest' ,
33
33
['raw_output' , 'input_data' ])
34
34
KunitRequest = namedtuple ('KunitRequest' , ['raw_output' ,'timeout' , 'jobs' ,
35
- 'build_dir' , 'defconfig ' ,
36
- 'alltests' , ' make_options' ])
35
+ 'build_dir' , 'alltests ' ,
36
+ 'make_options' ])
37
37
38
38
KernelDirectoryPath = sys .argv [0 ].split ('tools/testing/kunit/' )[0 ]
39
39
@@ -60,8 +60,7 @@ def config_tests(linux: kunit_kernel.LinuxSourceTree,
60
60
kunit_parser .print_with_timestamp ('Configuring KUnit Kernel ...' )
61
61
62
62
config_start = time .time ()
63
- if request .defconfig :
64
- create_default_kunitconfig ()
63
+ create_default_kunitconfig ()
65
64
success = linux .build_reconfig (request .build_dir , request .make_options )
66
65
config_end = time .time ()
67
66
if not success :
@@ -177,11 +176,6 @@ def add_common_opts(parser):
177
176
help = 'Run all KUnit tests through allyesconfig' ,
178
177
action = 'store_true' )
179
178
180
- def add_config_opts (parser ):
181
- parser .add_argument ('--defconfig' ,
182
- help = 'Uses a default .kunitconfig.' ,
183
- action = 'store_true' )
184
-
185
179
def add_build_opts (parser ):
186
180
parser .add_argument ('--jobs' ,
187
181
help = 'As in the make command, "Specifies the number of '
@@ -210,7 +204,6 @@ def main(argv, linux=None):
210
204
# The 'run' command will config, build, exec, and parse in one go.
211
205
run_parser = subparser .add_parser ('run' , help = 'Runs KUnit tests.' )
212
206
add_common_opts (run_parser )
213
- add_config_opts (run_parser )
214
207
add_build_opts (run_parser )
215
208
add_exec_opts (run_parser )
216
209
add_parse_opts (run_parser )
@@ -258,7 +251,6 @@ def main(argv, linux=None):
258
251
cli_args .timeout ,
259
252
cli_args .jobs ,
260
253
cli_args .build_dir ,
261
- cli_args .defconfig ,
262
254
cli_args .alltests ,
263
255
cli_args .make_options )
264
256
result = run_tests (linux , request )
0 commit comments