From 60a28be50c897f1b551a05e6fd1697a00f0d13b4 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 29 Nov 2021 18:05:13 +0800 Subject: [PATCH 1/5] this is a test --- gitee_test.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 gitee_test.txt diff --git a/gitee_test.txt b/gitee_test.txt new file mode 100644 index 0000000..e69de29 -- Gitee From ffd57b44533f53c98021d1514a335775878aa18e Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 29 Nov 2021 18:11:44 +0800 Subject: [PATCH 2/5] this is a test again --- gitee_test1.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 gitee_test1.txt diff --git a/gitee_test1.txt b/gitee_test1.txt new file mode 100644 index 0000000..e69de29 -- Gitee From a718818aeaad5532ac0fe4fad07b4e00c9cdc71a Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 29 Nov 2021 18:58:16 +0800 Subject: [PATCH 3/5] this is a test again --- gitee_test.txt | 0 gitee_test1.txt | 0 2 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 gitee_test.txt delete mode 100644 gitee_test1.txt diff --git a/gitee_test.txt b/gitee_test.txt deleted file mode 100644 index e69de29..0000000 diff --git a/gitee_test1.txt b/gitee_test1.txt deleted file mode 100644 index e69de29..0000000 -- Gitee From 5cc3892537d3398399c34e1016f4df71811b3e57 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 27 Jan 2022 15:44:31 +0800 Subject: [PATCH 4/5] fix video case bug --- tests/video/play_video.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/video/play_video.sh b/tests/video/play_video.sh index e0f11ef..15195d1 100644 --- a/tests/video/play_video.sh +++ b/tests/video/play_video.sh @@ -14,7 +14,7 @@ function check_wayland_status() { } function check_xserver_status() { - if pgrep Xorg>/dev/null 2>&1; then + if pgrep Xorg>/dev/null 2>&1 || pgrep X>/dev/null 2>&1; then return 0 fi return 1 @@ -66,19 +66,19 @@ function play_video_test() { echo -e "\nshow display information:" xdpyinfo -display "$DISPLAY" - [ $? -ne 0 ] && echo "Failed to query the display service on the computer screen" && test_fail + echo echo -e "\nshow X-Video extension adaptor information:" xvinfo -display "$DISPLAY" - [ $? -ne 0 ] && echo "Failed to detect the video image information. Procedure" && test_fail + echo echo -e "\nquery configuration information:" xdriinfo - [ $? -ne 0 ] && echo "Failed to obtain the video image configuration information. Procedure" && test_fail + echo echo -e "\nshow 3D acceleration information:" glxinfo -display "$DISPLAY" - [ $? -ne 0 ] && echo "The 3D acceleration test failed" && test_fail + echo run_x_test sleep 3 @@ -89,4 +89,3 @@ print_test_info "Video" show_module_info "$DRIVER" play_video_test test_pass - -- Gitee From 624168a65a1b4783d5c585e92fc58f2a3a50bc0c Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 27 Jan 2022 15:48:22 +0800 Subject: [PATCH 5/5] fix video case bug --- tests/video/play_video.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/video/play_video.sh b/tests/video/play_video.sh index 15195d1..5ef2b5d 100644 --- a/tests/video/play_video.sh +++ b/tests/video/play_video.sh @@ -70,15 +70,15 @@ function play_video_test() { echo -e "\nshow X-Video extension adaptor information:" xvinfo -display "$DISPLAY" - echo + echo echo -e "\nquery configuration information:" xdriinfo - echo + echo echo -e "\nshow 3D acceleration information:" glxinfo -display "$DISPLAY" - echo + echo run_x_test sleep 3 -- Gitee