expose minimized_stack_depth functionality in the CLI/API (#715)

This commit is contained in:
bmc-msft
2021-03-23 10:09:34 -04:00
committed by GitHub
parent 92d8299412
commit 516b1e000e
8 changed files with 52 additions and 0 deletions

View File

@ -351,6 +351,9 @@ def build_task_config(
if TaskFeature.report_list in definition.features:
config.report_list = task_config.task.report_list
if TaskFeature.minimized_stack_depth in definition.features:
config.minimized_stack_depth = task_config.task.minimized_stack_depth
if TaskFeature.expect_crash_on_failure in definition.features:
config.expect_crash_on_failure = (
task_config.task.expect_crash_on_failure

View File

@ -106,6 +106,7 @@ TASK_DEFINITIONS = {
TaskFeature.target_timeout,
TaskFeature.check_retry_count,
TaskFeature.check_fuzzer_help,
TaskFeature.minimized_stack_depth,
],
vm=VmDefinition(compare=Compare.AtLeast, value=1),
containers=[
@ -378,6 +379,7 @@ TASK_DEFINITIONS = {
TaskFeature.check_asan_log,
TaskFeature.check_debugger,
TaskFeature.check_retry_count,
TaskFeature.minimized_stack_depth,
],
vm=VmDefinition(compare=Compare.AtLeast, value=1),
containers=[
@ -424,6 +426,7 @@ TASK_DEFINITIONS = {
TaskFeature.check_debugger,
TaskFeature.check_retry_count,
TaskFeature.report_list,
TaskFeature.minimized_stack_depth,
],
vm=VmDefinition(compare=Compare.AtLeast, value=1),
containers=[
@ -487,6 +490,7 @@ TASK_DEFINITIONS = {
TaskFeature.check_fuzzer_help,
TaskFeature.check_retry_count,
TaskFeature.report_list,
TaskFeature.minimized_stack_depth,
],
vm=VmDefinition(compare=Compare.AtLeast, value=1),
containers=[