sdk-vb-fullscreen manual

critical

Image Types:
basesdk-amd64 / sdk-amd64
Image Deployment:
APT
Type:
compatibility

Description

Tests that the SDK VM can be fullscreened in VirtualBox. Development environment: ensuring that the VirtualBox SDK provides a seamless experience. Check that when fullscreened the output is not stretched, even for accelerated contents.


Pre Conditions

  1. Clone the tests repository from another computer (Note that the branch being tested may change depending on the release, please make sure to clone the correct branch for the release in question):
  2. $ git clone --branch apertis/v2020 https://gitlab.apertis.org/tests/webkit2gtk.git

  3. Copy the test directory webkit2gtk to the target device:
  4. $ DUT_IP=<device-ip>

    $ scp -r webkit2gtk user@$DUT_IP:

  5. Log into the target device:
  6. $ ssh user@$DUT_IP

  7. For SDK image: Remember, we're now requiring VirtualBox 4.2.2 for tests using Guest Additions. To update setup, please read:
  8. https://wiki.apertis.org/Docs/VirtualBox_Guest_Additions

  9. Download the virtual machine image for the latest SDK release from:
  10. https://images.apertis.org/


Execution Steps

  1. Start the SDK virtual machine
  2. Click "Switch to Fullscreen" from the "View" menu
  3. Open a terminal
  4. Launch a program using GLX under Xephyr:
  5. $ Xephyr :1 -host-cursor -screen 800x480x24 -ac &

    $ DISPLAY=:1 /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/MiniBrowser webkit2gtk/webgl-square.html


Expected

The screen is correctly resized when switching to fullscreen.

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.