From: Victor Lira Date: Fri, 23 Aug 2024 22:29:04 +0000 (-0700) Subject: automation: update xilinx test scripts (tty) X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3e1a31e7d3ed9fc9719ab6f6381daa4f25609b72;p=xen.git automation: update xilinx test scripts (tty) Update serial device names from ttyUSB* to test board specific names. Update xilinx-smoke-dom0-x86_64 with new Xen command line console options, which are now set as Gitlab CI/CD variables. Abstract the directory where binaries are stored. Increase the timeout to match new setup. Signed-off-by: Victor Lira Reviewed-by: Stefano Stabellini (cherry picked from commit 95764a0817a51741b7ffb1f78cba2a19b08ab2d1) [Stripped down to xilinx-smoke-dom0less-arm64.sh only] Signed-off-by: Andrew Cooper --- diff --git a/automation/scripts/xilinx-smoke-dom0less-arm64.sh b/automation/scripts/xilinx-smoke-dom0less-arm64.sh index 075305241c..d4bf19855a 100755 --- a/automation/scripts/xilinx-smoke-dom0less-arm64.sh +++ b/automation/scripts/xilinx-smoke-dom0less-arm64.sh @@ -134,9 +134,10 @@ sleep 5 cd $START # connect to serial +SERIAL_DEV="/dev/serial/zynq" set +e -stty -F /dev/ttyUSB0 115200 -timeout -k 1 120 nohup sh -c "cat /dev/ttyUSB0 | tee smoke.serial" +stty -F ${SERIAL_DEV} 115200 +timeout -k 1 120 nohup sh -c "cat ${SERIAL_DEV} | tee smoke.serial" # stop the board cd /scratch/gitlab-runner