summaryrefslogtreecommitdiff
path: root/jobs
diff options
authorPierre Equoy <pierre.equoy@canonical.com>2015-10-21 17:08:41 +0800
committerPierre Equoy <pierre.equoy@canonical.com>2015-10-21 17:08:41 +0800
commit8c66c6ad60e1c675da288ae172b3ea610361dca5 (patch)
treeb6860476f7f31ab20851c717f1fd5bbe40365c20 /jobs
parent52add568d9fb9b6de265403fe71a6c91a8675314 (diff)
Modify rotation test to use DBUS directly
On some NVidia cards, calling xrandr script to rotate the screen programatically may not work. Triggering screen rotation using DBUS directly is closer to what is done when the user manually modifies the rotation settings in the System Settings Display screen. We add a new script to handle this and modify the graphics rotation test job to use it.
Diffstat (limited to 'jobs')
-rw-r--r--jobs/graphics.txt.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/graphics.txt.in b/jobs/graphics.txt.in
index 487e0c2..24b603f 100644
--- a/jobs/graphics.txt.in
+++ b/jobs/graphics.txt.in
@@ -301,7 +301,7 @@ command:
category_id: 2013.com.canonical.plainbox::graphics
id: graphics/`echo ${index}`_rotation_`echo "${product}" | sed 's/ /_/g;s/[^_a-zA-Z0-9-]//g'`
depends: graphics/xorg-version
- command: rotation_test
+ command: rotation_test_using_dbus
estimated_duration: 20.000
_summary: Test rotation for $product
_description: