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>
This commit is contained in:
Johan Klokkhammer Helsing 2018-03-12 14:00:35 +01:00 committed by Johan Helsing
parent e6c84abc55
commit bfb8f07065
2 changed files with 8 additions and 0 deletions

View File

@ -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)

View File

@ -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 $@