mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-14 11:08:06 +00:00
Update the libfuzzer-with-options test to use fuzzing_target_options (#2565)
This currently causes the coverage task to time out, ensure that the `runs` parameter is only passed to the fuzzing task and not the coverage task.
This commit is contained in:
@ -76,6 +76,7 @@ class Integration(BaseModel):
|
||||
reboot_after_setup: Optional[bool] = Field(default=False)
|
||||
test_repro: Optional[bool] = Field(default=True)
|
||||
target_options: Optional[List[str]]
|
||||
fuzzing_target_options: Optional[List[str]]
|
||||
inject_fake_regression: bool = Field(default=False)
|
||||
target_class: Optional[str]
|
||||
target_method: Optional[str]
|
||||
@ -114,7 +115,7 @@ TARGETS: Dict[str, Integration] = {
|
||||
ContainerType.inputs: 2,
|
||||
},
|
||||
reboot_after_setup=True,
|
||||
target_options=["-runs=10000000"],
|
||||
fuzzing_target_options=["-runs=10000000"],
|
||||
),
|
||||
"linux-libfuzzer-dlopen": Integration(
|
||||
template=TemplateType.libfuzzer,
|
||||
@ -382,6 +383,7 @@ class TestOnefuzz:
|
||||
vm_count=1,
|
||||
reboot_after_setup=config.reboot_after_setup or False,
|
||||
target_options=config.target_options,
|
||||
fuzzing_target_options=config.fuzzing_target_options,
|
||||
)
|
||||
elif config.template == TemplateType.libfuzzer_dotnet:
|
||||
if setup is None:
|
||||
|
Reference in New Issue
Block a user