summaryrefslogtreecommitdiff
path: root/units
diff options
authorMaciej Kisielewski <maciej.kisielewski@canonical.com>2018-08-20 20:30:49 +0200
committerMaciej Kisielewski <maciej.kisielewski@canonical.com>2018-08-20 20:30:49 +0200
commit62fc4c729a9fc835c13a49867583c8562ea59f76 (patch)
treed3174962eaf9eb2e079fb8ab031c43773e2ed3d8 /units
parent87b0140a614e550d826a8133794f9818ac24a35d (diff)
change detecting of Unity in 3/4 touchscreen tap test
Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>
Diffstat (limited to 'units')
-rw-r--r--units/touchscreen/jobs.pxu8
1 files changed, 4 insertions, 4 deletions
diff --git a/units/touchscreen/jobs.pxu b/units/touchscreen/jobs.pxu
index 98a2d4f..b500c30 100644
--- a/units/touchscreen/jobs.pxu
+++ b/units/touchscreen/jobs.pxu
@@ -140,13 +140,13 @@ _description:
VERIFICATION:
Did you see the green circles around the three fingers?
command:
- {%- if __system_env__["XDG_CURRENT_DESKTOP"] == 'Unity' %}
+ {%- if 'Unity' in __system_env__["XDG_CURRENT_DESKTOP"] %}
manage_compiz_plugin unityshell disable
{% endif %}
qmlscene -qt5 3 $PLAINBOX_PROVIDER_DATA/touch_tap_test.qml 2>&1 | grep -o PASS
EXIT=$?
sleep 5
- {%- if __system_env__["XDG_CURRENT_DESKTOP"] == 'Unity' %}
+ {%- if 'Unity' in __system_env__["XDG_CURRENT_DESKTOP"] %}
manage_compiz_plugin unityshell enable
{% endif %}
exit $EXIT
@@ -168,13 +168,13 @@ _description:
VERIFICATION:
Did you see the green circles around the four fingers?
command:
- {%- if __system_env__["XDG_CURRENT_DESKTOP"] == 'Unity' %}
+ {%- if 'Unity' in __system_env__["XDG_CURRENT_DESKTOP"] %}
manage_compiz_plugin unityshell disable
{% endif %}
qmlscene -qt5 4 $PLAINBOX_PROVIDER_DATA/touch_tap_test.qml 2>&1 | grep -o PASS
EXIT=$?
sleep 5
- {%- if __system_env__["XDG_CURRENT_DESKTOP"] == 'Unity' %}
+ {%- if 'Unity' in __system_env__["XDG_CURRENT_DESKTOP"] %}
manage_compiz_plugin unityshell enable
{% endif %}
exit $EXIT