Skip to content

Commit

Permalink
Merge pull request #1153 from sosy-lab/fix-metaval-validation-benchmarks
Browse files Browse the repository at this point in the history
Let MetaVal handle validation tasks correctly
  • Loading branch information
PhilippWendler authored Mar 7, 2025
2 parents 1ca6a4e + e860ab4 commit bdeb75d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion benchexec/tools/metaval.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from benchexec.tools.sv_benchmarks_util import (
get_witness,
get_single_non_witness_input_file,
WITNESS_INPUT_FILE_IDENTIFIER,
)


Expand Down Expand Up @@ -124,11 +125,18 @@ def cmdline(self, executable, options, task, rlimits):
)
)
)
wrapped_tasks_options = task.options
if isinstance(wrapped_tasks_options, dict):
wrapped_tasks_options = {
k: v
for k, v in wrapped_tasks_options.items()
if k != WITNESS_INPUT_FILE_IDENTIFIER
}
wrappedtask = BaseTool2.Task(
input_files=[self._resource(executable, "output/ARG.c")],
identifier=task.identifier,
property_file=task.property_file,
options=task.options,
options=wrapped_tasks_options,
)
wrappedOptions = tool.cmdline(
wrapped_executable,
Expand Down

0 comments on commit bdeb75d

Please sign in to comment.