summaryrefslogtreecommitdiffstats
path: root/tests/auto/client/client.pro
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@qt.io>2016-08-05 11:53:43 +0200
committerJędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>2016-08-19 11:46:04 +0000
commit2cc758045e322873ad58f675a70c8d8366b5c318 (patch)
tree91843191d0d8dc5be0b243fd5863f7b4a5fdede2 /tests/auto/client/client.pro
parent9b7a5b428ba528dfb568af99b09e9e441f482e78 (diff)
Fix autotest directory structure
The client and server parts are separate modules, so they need separate top-level directories under tests/auto. This also makes it easier to add new tests later. Change-Id: I393341b6f4e8fc3afa480653f3482192e002e425 Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com>
Diffstat (limited to 'tests/auto/client/client.pro')
-rw-r--r--tests/auto/client/client.pro26
1 files changed, 2 insertions, 24 deletions
diff --git a/tests/auto/client/client.pro b/tests/auto/client/client.pro
index eaf6c6e95..916b3abe4 100644
--- a/tests/auto/client/client.pro
+++ b/tests/auto/client/client.pro
@@ -1,25 +1,3 @@
-CONFIG += testcase link_pkgconfig
-TARGET = tst_client
+TEMPLATE=subdirs
-QT += testlib
-QT += core-private gui-private
-
-!contains(QT_CONFIG, no-pkg-config) {
- PKGCONFIG += wayland-client wayland-server
-} else {
- LIBS += -lwayland-client -lwayland-server
-}
-
-CONFIG += wayland-scanner
-WAYLANDSERVERSOURCES += \
- ../../../src/3rdparty/protocol/wayland.xml
-
-SOURCES += tst_client.cpp \
- mockcompositor.cpp \
- mockinput.cpp \
- mockshell.cpp \
- mocksurface.cpp \
- mockoutput.cpp
-HEADERS += mockcompositor.h \
- mockinput.h \
- mocksurface.h \
+SUBDIRS += client