DMTF Tools: Handled DMTF Tools Download If Branch Name Was Different
Changes:
- Recently, In DMTF Tools website for few of tools repository stable branch name was changed from master to main.
- Handled Download DMTF Tools keyword, to download dmtf tool from their respective stable branch.
Tested:
- Ran All The Scripts Successfully
Change-Id: I7d86799051a95df4728bd728a9c90bdbe0107dad
Signed-off-by: ganesanb <ganesanb@ami.com>
diff --git a/redfish/dmtf_tools/Redfish_Interop_Validator.robot b/redfish/dmtf_tools/Redfish_Interop_Validator.robot
index e5f9b6e..cb1c493 100644
--- a/redfish/dmtf_tools/Redfish_Interop_Validator.robot
+++ b/redfish/dmtf_tools/Redfish_Interop_Validator.robot
@@ -14,6 +14,7 @@
... --ip https://${OPENBMC_HOST}:${HTTPS_PORT} --authtype=Session -u ${OPENBMC_USERNAME}
... -p ${OPENBMC_PASSWORD} --logdir ${EXECDIR}${/}logs${/} --debugging
... ${EXECDIR}/data/openbmc_redfish_interop_profile.json
+${branch_name} master
*** Test Case ***
@@ -21,7 +22,7 @@
[Documentation] Check conformance based on the OpenBMC Interoperability profile.
[Tags] Test_BMC_Redfish_Using_Redfish_Interop_Validator
- Download DMTF Tool ${rsv_dir_path} ${rsv_github_url}
+ Download DMTF Tool ${rsv_dir_path} ${rsv_github_url} ${branch_name}
${rc} ${output}= Run DMTF Tool ${rsv_dir_path} ${cmd_str_master} check_error=1