]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commitdiff
automation: update xilinx test scripts (tty)
authorVictor Lira <victorm.lira@amd.com>
Fri, 23 Aug 2024 22:29:04 +0000 (15:29 -0700)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 11 Apr 2025 16:27:59 +0000 (17:27 +0100)
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 <victorm.lira@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
(cherry picked from commit 95764a0817a51741b7ffb1f78cba2a19b08ab2d1)
[Stripped down to xilinx-smoke-dom0less-arm64.sh only]
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
automation/scripts/xilinx-smoke-dom0less-arm64.sh

index 075305241c8db732bc3600e0e85c7e65958e1c26..d4bf19855ad7735dd8560e3690153488cbbacf12 100755 (executable)
@@ -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