@@ -142,14 +142,10 @@ def create_generator_config(
142142 test_image : str ,
143143 arangosh_args : str ,
144144 extra_args : str ,
145- arangod_without_v8 : str ,
146- single : bool ,
147- cluster : bool ,
145+ arangod_without_v8 : bool ,
148146 gtest : bool ,
149147 full : bool ,
150- all_tests : bool ,
151148 replication_two : bool ,
152- nightly : bool ,
153149 create_docker_images : bool ,
154150 validate_only : bool ,
155151) -> GeneratorConfig :
@@ -169,26 +165,22 @@ def create_generator_config(
169165
170166 # Create filter criteria
171167 filter_criteria = FilterCriteria (
172- single = single ,
173- cluster = cluster ,
174168 gtest = gtest ,
175169 full = full ,
176- all_tests = all_tests ,
177- nightly = nightly ,
178170 sanitizer = sanitizer_enum ,
171+ v8 = not arangod_without_v8 ,
179172 )
180173
181174 # Create test execution config
182175 arangosh_args_list = TestArguments .parse_args_string (arangosh_args or "" )
183176 extra_args_list = TestArguments .parse_args_string (
184177 extra_args or "" ,
185- add_skip_server_js = ( arangod_without_v8 == "true" ) ,
178+ add_skip_server_js = arangod_without_v8 ,
186179 )
187180
188181 test_execution = TestExecutionConfig (
189182 arangosh_args = arangosh_args_list ,
190183 extra_args = extra_args_list ,
191- arangod_without_v8 = (arangod_without_v8 == "true" ),
192184 replication_two = replication_two ,
193185 )
194186
@@ -242,17 +234,8 @@ def create_generator_config(
242234)
243235@click .option (
244236 "--arangod-without-v8" ,
245- help = "Whether to run without JavaScript (true, false)" ,
246- )
247- @click .option (
248- "--single" ,
249- is_flag = True ,
250- help = "Include single server tests" ,
251- )
252- @click .option (
253- "--cluster" ,
254237 is_flag = True ,
255- help = "Include cluster tests " ,
238+ help = "Run without JavaScript (V8 disabled) " ,
256239)
257240@click .option (
258241 "--gtest" ,
@@ -264,23 +247,12 @@ def create_generator_config(
264247 is_flag = True ,
265248 help = "Include full test set" ,
266249)
267- @click .option (
268- "--all" ,
269- "all_tests" ,
270- is_flag = True ,
271- help = "Include all tests, ignore other filters" ,
272- )
273250@click .option (
274251 "-rt" ,
275252 "--replication-two" ,
276253 is_flag = True ,
277254 help = "Enable replication version 2 tests" ,
278255)
279- @click .option (
280- "--nightly" ,
281- is_flag = True ,
282- help = "This is a nightly build" ,
283- )
284256@click .option (
285257 "--create-docker-images" ,
286258 is_flag = True ,
@@ -300,14 +272,10 @@ def main(
300272 driver_branch_overrides : str ,
301273 arangosh_args : str ,
302274 extra_args : str ,
303- arangod_without_v8 : str ,
304- single : bool ,
305- cluster : bool ,
275+ arangod_without_v8 : bool ,
306276 gtest : bool ,
307277 full : bool ,
308- all_tests : bool ,
309278 replication_two : bool ,
310- nightly : bool ,
311279 create_docker_images : bool ,
312280 validate_only : bool ,
313281):
@@ -335,13 +303,9 @@ def main(
335303 arangosh_args = arangosh_args ,
336304 extra_args = extra_args ,
337305 arangod_without_v8 = arangod_without_v8 ,
338- single = single ,
339- cluster = cluster ,
340306 gtest = gtest ,
341307 full = full ,
342- all_tests = all_tests ,
343308 replication_two = replication_two ,
344- nightly = nightly ,
345309 create_docker_images = create_docker_images ,
346310 validate_only = validate_only ,
347311 )
0 commit comments