From 69a8640ff72bbb05f99963a1d5f877c9c27cd1d1 Mon Sep 17 00:00:00 2001 From: Emanuele Aina <emanuele.aina@collabora.com> Date: Fri, 15 Nov 2019 22:11:03 +0100 Subject: [PATCH] sdk-vb-fullscreen: Use MiniBrowser and WebGL to test rendering Since the rebase to Buster we are no longer shipping `clutter/test-text`, making the test execution impossible to complete. Replace the test program with the MiniBrowser from WebKitGTK opening a simple WebGL scene and testing that the output is not stretched. Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com> --- test-cases/sdk-vb-fullscreen.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/test-cases/sdk-vb-fullscreen.yaml b/test-cases/sdk-vb-fullscreen.yaml index 3e7f666..f9b98ad 100644 --- a/test-cases/sdk-vb-fullscreen.yaml +++ b/test-cases/sdk-vb-fullscreen.yaml @@ -12,7 +12,9 @@ metadata: maintainer: "Apertis Project" description: "Tests that the SDK VM can be fullscreened in VirtualBox. Development environment: ensuring that the VirtualBox SDK provides - a seamless experience." + a seamless experience. + Check that when fullscreened the output is not stretched, even for + accelerated contents." pre-conditions: - "For SDK image: Remember, we're now requiring VirtualBox 4.2.2 for tests @@ -23,7 +25,13 @@ metadata: expected: - "The screen is correctly resized when switching to fullscreen." - - "test-text displays test glyphs inside the Xephyr window." + - "MiniBrowser shows a blue square on grey background inside the Xephyr window." + - "Check that the blue shape is a square and is not stretched in any way." + +install: + git-repos: + - url: https://gitlab.apertis.org/tests/webkit2gtk.git + branch: 'apertis/v2020pre' run: steps: @@ -32,4 +40,4 @@ run: - "Open a terminal" - "Launch a program using GLX under Xephyr:" - $ Xephyr :1 -host-cursor -screen 800x480x24 -ac & - - $ DISPLAY=:1 /usr/lib/clutter-1.0/installed-tests/clutter/test-text + - $ DISPLAY=:1 /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/MiniBrowser webkit2gtk/webgl-square.html -- GitLab