return results
end
---- load result config.
-local function load_result_config(info)
+--- Load all result configs. Creates and populates the info.results dictionary.
+-- @param info Info table.
+-- @return True on success, false on error.
+-- @return Error object on failure.
+local function load_result_configs(info)
local e = err.new("error loading result configuration")
info.results = {}
info.results[name] = item.data
end
end
- return true, nil
+ return true
end
--- Read project configuration file.
return false, e:cat(re)
end
- rc, re = load_result_config(info)
+ rc, re = load_result_configs(info)
if not rc then
return false, e:cat(re)
end