Skip to content
Snippets Groups Projects
Commit 69a8640f authored by Emanuele Aina's avatar Emanuele Aina
Browse files

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's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent f4addd28
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment