gen_test_report: use rfa build config column in test report
Change-Id: I68ebe1bce90cb2e2834f731fcdbd833d92fa9610
Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
diff --git a/script/gen_test_report.py b/script/gen_test_report.py
index d534536..0337dbe 100755
--- a/script/gen_test_report.py
+++ b/script/gen_test_report.py
@@ -69,7 +69,7 @@
REPORT_JSON = "report.json"
# Maximum depth for the tree of results, excluding status
-MAX_RESULTS_DEPTH = 8
+MAX_RESULTS_DEPTH = 9
# We'd have a minimum of 3: group, a build config, a run config.
MIN_RESULTS_DEPTH = 3
@@ -85,6 +85,7 @@
"SCP tools Config",
"SPM Build Config",
"RMM Build Config",
+ "RF-A Build Config",
"Run Config",
"Status"
]
@@ -441,7 +442,7 @@
test_config = desc[:-len(TEST_SUFFIX)]
build_config, run_config = test_config.split(":")
spare_commas = "," * (MAX_RESULTS_DEPTH - MIN_RESULTS_DEPTH)
- tf_config, tftf_config, scp_config, scp_tools, spm_config, rmm_config, *_ = (build_config +
+ tf_config, tftf_config, scp_config, scp_tools, spm_config, rmm_config, rfa_config, *_ = (build_config +
spare_commas).split(",")
build_number = child_build_numbers[i]
@@ -460,7 +461,8 @@
scp_tools_node = scp_node.set_child(scp_tools)
spm_node = scp_tools_node.set_child(spm_config)
rmm_node = spm_node.set_child(rmm_config)
- run_node = rmm_node.set_child(run_config)
+ rfa_node = rmm_node.set_child(rfa_config)
+ run_node = rfa_node.set_child(run_config)
run_node.set_result(test_result, build_number)
run_node.set_desc(os.path.join(workspace, f))