From 6d9ee7d4c1a03eb2a3b51f2338e39be9f2c0b3ed Mon Sep 17 00:00:00 2001 From: Johan Klokkhammer Helsing Date: Mon, 12 Mar 2018 14:00:35 +0100 Subject: Run shell agnostic tests on all shells And not just the default one. Change-Id: I6debbda9ae249f5f9df914901dc60722253b7d09 Reviewed-by: Pier Luigi Fiorini --- tests/auto/client/client/client.pro | 2 ++ tests/auto/client/client/run-with-all-shells.sh | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100755 tests/auto/client/client/run-with-all-shells.sh diff --git a/tests/auto/client/client/client.pro b/tests/auto/client/client/client.pro index edf80bb9b..f4ced252c 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 000000000..41f383900 --- /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 $@ -- cgit v1.2.3