fix call for cretion of empty output artifact
This commit is contained in:
parent
a3d329cdd5
commit
9c8dbf9780
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ std::unique_ptr<OutputType> Worker::perform_task(std::unique_ptr<InputType>& tas
|
||||||
if (task->get_content().size() != 1) {
|
if (task->get_content().size() != 1) {
|
||||||
std::cerr << "Error: Simulation configuration in worker thread has more than one testcases to run!" << std::endl;
|
std::cerr << "Error: Simulation configuration in worker thread has more than one testcases to run!" << std::endl;
|
||||||
finished = false;
|
finished = false;
|
||||||
return std::make_unique<OutputType>();
|
return std::make_unique<OutputType>(task->id, task->source_pass, task->target_artifact, task->design, task->source_config);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto testcase = task->get_content().front();
|
auto testcase = task->get_content().front();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue