fix call for cretion of empty output artifact

This commit is contained in:
Fabian Posch 2024-01-16 17:18:07 -05:00
parent a3d329cdd5
commit 9c8dbf9780

View file

@ -120,7 +120,7 @@ std::unique_ptr<OutputType> Worker::perform_task(std::unique_ptr<InputType>& tas
if (task->get_content().size() != 1) {
std::cerr << "Error: Simulation configuration in worker thread has more than one testcases to run!" << std::endl;
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();