IPMI robot codes with latest directives
Changes:
- Run KeyWord If is deprecated since Robot
Framework version 5.*, use 'IF' instead
Tested:
- Checked using robot dry-run to make sure the
syntax is not broken
Change-Id: I8a52aeb2939104f2c94f294272d92c4a7692970e
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/systest/gpu_stress_test.robot b/systest/gpu_stress_test.robot
index 2b03864..fbb32a8 100755
--- a/systest/gpu_stress_test.robot
+++ b/systest/gpu_stress_test.robot
@@ -92,8 +92,7 @@
${temperature_max}= Get GPU Temperature Limit
${clock_max}= Get GPU Clock Limit
- Run Keyword If '${HTX_MDT_PROFILE}' == 'mdt.bu'
- ... Create Default MDT Profile
+ IF '${HTX_MDT_PROFILE}' == 'mdt.bu' Create Default MDT Profile
Run MDT Profile