From 4e0d5c7b0e791c04991ddf614bb57bee86f11375 Mon Sep 17 00:00:00 2001 From: vmordan Date: Tue, 24 Oct 2023 22:51:59 +0530 Subject: [PATCH] Improve text of uploaded reports (#50) --- scripts/runner.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/runner.py b/scripts/runner.py index 7932998..e2dd599 100755 --- a/scripts/runner.py +++ b/scripts/runner.py @@ -64,6 +64,8 @@ TAG_EXPORTER = "Exporter" TAG_VERSION = "version" TAG_PROPERTIES = "requirement specifications" +TAG_UPLOADER = "uploader" +TAG_NAME = "name" DEFAULT_CONFIG_COMMAND = "allmodconfig" DEFAULT_ARCH = "x86_64" @@ -177,6 +179,8 @@ def __update_job_config(self, build_base_dir: str): bridge_config[TAG_EXPORTER][TAG_VERSION] = self.version if self.properties: job_config[TAG_PROPERTIES] = self.properties + uploaded_name = f"{'_'.join(self.properties)} - {self.version} - " + bridge_config[TAG_UPLOADER][TAG_NAME] = uploaded_name bridge_config[COMPONENT_BENCHMARK_LAUNCHER][TAG_OUTPUT_DIR] = \ os.path.join(self.klever_deploy_dir, KLEVER_TASKS_DIR) bridge_config[COMPONENT_BENCHMARK_LAUNCHER][TAG_TASKS_DIR] = \