diff options
author | Ubuntu <ubuntu@cert-jenkins-slave-1-201406-15260.maas> | 2022-04-13 08:47:35 +0000 |
---|---|---|
committer | Ubuntu <ubuntu@cert-jenkins-slave-1-201406-15260.maas> | 2022-04-13 08:47:35 +0000 |
commit | 3fecc91517cba898b3218616755bdb142b34c2a0 (patch) | |
tree | d6318b33d15319c0adfb59aeaf67b1a79ccb8afe /units/graphics | |
parent | 3a75e96f15036697cad5247029dfa4a6111f708e (diff) | |
parent | e082b09989614d2add395d9a22669016e4e49eb7 (diff) |
Merge #418605 from ~sylvain-pineau/plainbox-provider-checkbox:wayland-support
Diffstat (limited to 'units/graphics')
-rw-r--r-- | units/graphics/jobs.pxu | 7 | ||||
-rw-r--r-- | units/graphics/packaging.pxu | 8 |
2 files changed, 14 insertions, 1 deletions
diff --git a/units/graphics/jobs.pxu b/units/graphics/jobs.pxu index 185193b..4dde304 100644 --- a/units/graphics/jobs.pxu +++ b/units/graphics/jobs.pxu @@ -230,7 +230,12 @@ depends: graphics/VESA_drivers_not_in_use command: # shellcheck disable=SC1091 source graphics_env.sh {driver} {index} - xrandr_cycle.py --screenshot-dir "$PLAINBOX_SESSION_SHARE" + if [[ $XDG_SESSION_TYPE == "wayland" ]] + then + gnome_randr_cycle.py --screenshot-dir="$PLAINBOX_SESSION_SHARE" + else + xrandr_cycle.py --screenshot-dir="$PLAINBOX_SESSION_SHARE" + fi estimated_duration: 250.000 _summary: Test resolution cycling for {vendor} {product} _description: diff --git a/units/graphics/packaging.pxu b/units/graphics/packaging.pxu new file mode 100644 index 0000000..a81bc13 --- /dev/null +++ b/units/graphics/packaging.pxu @@ -0,0 +1,8 @@ +unit: packaging meta-data +os-id: ubuntu +os-version-id: 22.04 +Depends: gnome-randr + +unit: packaging meta-data +os-id: debian +Depends: gnome-screenshot |