Remove use of deprecated rprint functions
For each of the rprint functions, there is a corresponding gen_print function
that can be used instead.
Change-Id: I89c6e0b63cac7aee92da7dc7945e413001287967
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/systest/gpu_stress_test.robot b/systest/gpu_stress_test.robot
index a384150..17e11c4 100755
--- a/systest/gpu_stress_test.robot
+++ b/systest/gpu_stress_test.robot
@@ -49,7 +49,7 @@
... Fail msg=${failmsg01}
# Show parameters for HTX stress test.
- Rprintn
+ Printn
Rpvars HTX_DURATION HTX_LOOP HTX_INTERVAL
# Set the iteration (loop) counter.
@@ -78,7 +78,7 @@
Set Suite Variable ${iteration} ${iteration + 1}
${loop_count}= Catenate Starting iteration: ${iteration}
- Rprintn
+ Printn
Rpvars loop_count
REST Power On stack_mode=skip
@@ -107,7 +107,7 @@
${temperature}= Get GPU Max Temperature
${temperature_via_rest}= Get GPU Temperature Via REST
${clock}= Get GPU Clock
- Rprintn
+ Printn
Rpvars power power_max temperature temperature_via_rest
... temperature_max clock clock_max
@@ -137,10 +137,10 @@
Flush REST Sessions
- Rprint Timen HTX Test ran for: ${HTX_DURATION}
+ Print Timen HTX Test ran for: ${HTX_DURATION}
${loop_count}= Catenate Ending iteration: ${iteration}
- Rprintn
+ Printn
Rpvars loop_count
@@ -165,7 +165,7 @@
# Get number of GPUs reported by the OS.
${cmd}= Catenate lspci | grep NVIDIA | wc -l
${num_os_gpus} ${stderr} ${rc}= OS Execute Command ${cmd}
- Rprintn
+ Printn
Rpvars num_os_gpus
# If no GPUs detected, we cannot continue.