summaryrefslogtreecommitdiff
diff options
authorPierre Equoy <pierre.equoy@canonical.com>2015-09-10 18:25:58 +0800
committerPierre Equoy <pierre.equoy@canonical.com>2015-09-10 18:25:58 +0800
commit8423ba8f8c8b8ab0c737e7aa7f9b07a5d0d67e91 (patch)
treef0694bbcd435563b44ad70c3a8027dcd453950e7
parenta3a0546226fb56b8da899a67556f5b67366eee7a (diff)
providers:checkbox: Fix 3-4 tap tests to avoid X crashesplainbox-provider-checkbox-v0.22c1
It looks like X crashes when trying to re-enable Unity Shell Compiz plugin, after the QML touch test is run. In order to avoid that, we add a sleep command just before re-enabling Unity Shell Compiz plugin.
-rw-r--r--jobs/touchscreen.txt.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/jobs/touchscreen.txt.in b/jobs/touchscreen.txt.in
index 455f592..53fd582 100644
--- a/jobs/touchscreen.txt.in
+++ b/jobs/touchscreen.txt.in
@@ -134,6 +134,7 @@ command:
manage_compiz_plugin unityshell disable
qmlscene -qt5 $PLAINBOX_PROVIDER_DATA/touch_tap_test.qml --touchpoints=3 2>&1 | grep -o PASS
EXIT=$?
+ sleep 5
manage_compiz_plugin unityshell enable
exit $EXIT
@@ -154,5 +155,6 @@ command:
manage_compiz_plugin unityshell disable
qmlscene -qt5 $PLAINBOX_PROVIDER_DATA/touch_tap_test.qml --touchpoints=4 2>&1 | grep -o PASS
EXIT=$?
+ sleep 5
manage_compiz_plugin unityshell enable
exit $EXIT