fixing input marker expansion in the supervisor task (#87)

This commit is contained in:
Cheick Keita
2020-10-02 11:34:31 -07:00
committed by GitHub
parent 93be26bc94
commit 2bb6dcbaca
5 changed files with 11 additions and 6 deletions

View File

@ -120,7 +120,7 @@ pub async fn run_tool(input: impl AsRef<Path>, config: &Config) -> Result<()> {
let mut tool_args = Expand::new();
tool_args
.input(&input)
.input_path(&input)
.target_exe(&config.target_exe)
.target_options(&config.target_options)
.analyzer_exe(&config.analyzer_exe)

View File

@ -192,7 +192,7 @@ async fn start_supervisor(
.input_corpus(inputs_dir);
if let Some(input_marker) = supervisor_input_marker {
expand.input(input_marker);
expand.input_marker(input_marker);
}
let args = expand.evaluate(supervisor_options)?;

View File

@ -132,7 +132,7 @@ async fn merge(config: &Config, output_dir: impl AsRef<Path>) -> Result<()> {
let mut supervisor_args = Expand::new();
supervisor_args
.input(&config.supervisor_input_marker)
.input_marker(&config.supervisor_input_marker)
.input_corpus(&config.unique_inputs.path)
.target_options(&config.target_options)
.supervisor_exe(&config.supervisor_exe)