diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2018-03-12 14:00:35 +0100 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2018-03-13 07:46:56 +0000 |
commit | 6d9ee7d4c1a03eb2a3b51f2338e39be9f2c0b3ed (patch) | |
tree | b10d4a5420c28d751a31fa1cec4a1acad57c9ac2 | |
parent | 366be1aafe3ed1dacc7d597e6bb2b1d509d2e908 (diff) | |
download | qtwayland-6d9ee7d4c1a03eb2a3b51f2338e39be9f2c0b3ed.tar.gz |
Run shell agnostic tests on all shells
And not just the default one.
Change-Id: I6debbda9ae249f5f9df914901dc60722253b7d09
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
-rw-r--r-- | tests/auto/client/client/client.pro | 2 | ||||
-rwxr-xr-x | tests/auto/client/client/run-with-all-shells.sh | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/client/client/client.pro b/tests/auto/client/client/client.pro index edf80bb9..f4ced252 100644 --- a/tests/auto/client/client/client.pro +++ b/tests/auto/client/client/client.pro @@ -2,3 +2,5 @@ include (../shared/shared.pri) TARGET = tst_client SOURCES += tst_client.cpp + +check.commands = $(TESTRUNNER) $${PWD}/run-with-all-shells.sh $(TESTARGS) diff --git a/tests/auto/client/client/run-with-all-shells.sh b/tests/auto/client/client/run-with-all-shells.sh new file mode 100755 index 00000000..41f38390 --- /dev/null +++ b/tests/auto/client/client/run-with-all-shells.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -ex +$@ +env QT_WAYLAND_SHELL_INTEGRATION=wl-shell $@ +env QT_WAYLAND_SHELL_INTEGRATION=ivi-shell $@ +env QT_WAYLAND_SHELL_INTEGRATION=xdg-shell-v6 $@ |