From 7c9b5bfefd66484d7f3391115e77de7e91b08e22 Mon Sep 17 00:00:00 2001 From: Yifan Xu Date: Wed, 24 Jul 2024 18:28:20 +0800 Subject: [PATCH] ci: Add Video out test Signed-off-by: Yifan Xu --- .github/workflows/th1520.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/th1520.yml b/.github/workflows/th1520.yml index a7840c43f5a33..99899bc52a0de 100644 --- a/.github/workflows/th1520.yml +++ b/.github/workflows/th1520.yml @@ -141,6 +141,8 @@ jobs: sudo chroot mnt sh -c 'apt update && apt dist-upgrade -y' # Add preinstalled software sudo chroot mnt sh -c 'apt install -y cpufrequtils python3-ruamel.yaml iperf firmware-realtek' + # Disable lightdm + sudo chroot mnt sh -c 'systemctl disable lightdm' sudo umount -l mnt zstd boot-lpi4amain-ci-${TIMESTAMP}.ext4 zstd root-lpi4amain-ci-${TIMESTAMP}.ext4 @@ -254,6 +256,13 @@ jobs: xtbsptest --update_config --dut_ser /dev/ttyUSB0 --dut_ip $DUT_IP --dut_login root --dut_password root xtbsptest --run test__audio__hw__audio8k16b1c_sle__10 xtbsptest --run test__audio__hw__rx__ac8k16b1c_sle + - name: 'Run Video Out test' + run: | + source ~/.venv/bin/activate + source /opt/linux-xuantie-kernel-CI/env_setup.source + xtbsptest --update_config --dut_ser /dev/ttyUSB0 --dut_ip $DUT_IP --dut_login root --dut_password root + xtbsptest --run test____dsi0__800x1280_66d03__pri_800x1280_XR12____tiles_smpte + xtbsptest --run test____hdmi__1920x1080_60__pri_1920x1080_XR12____tiles - name: 'Cleanup folder' if: always() run: |