diff options
author | Liang Qi <liang.qi@qt.io> | 2016-08-23 08:01:14 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@qt.io> | 2016-08-23 12:28:25 +0200 |
commit | 6b7a94b56aa4c3ce21ecf093baba03f0cd7582ed (patch) | |
tree | 455596965d022c63d2c21ca615babf92c9ec74cf /tests/auto/compositor | |
parent | 625f257e4857dd21653fccf0e7dd4010a60bc45d (diff) | |
parent | 2cc758045e322873ad58f675a70c8d8366b5c318 (diff) | |
download | qtwayland-6b7a94b56aa4c3ce21ecf093baba03f0cd7582ed.tar.gz |
Merge remote-tracking branch 'origin/5.6' into 5.7
Conflicts:
tests/auto/compositor/compositor.pro
tests/auto/compositor/compositor/compositor.pro
Change-Id: Id9f3cf97ca3b600bdafba846908643ff0f8964b9
Diffstat (limited to 'tests/auto/compositor')
-rw-r--r-- | tests/auto/compositor/compositor.pro | 39 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/BLACKLIST (renamed from tests/auto/compositor/BLACKLIST) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/compositor.pro | 40 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/mockclient.cpp (renamed from tests/auto/compositor/mockclient.cpp) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/mockclient.h (renamed from tests/auto/compositor/mockclient.h) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/mockseat.cpp (renamed from tests/auto/compositor/mockseat.cpp) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/mockseat.h (renamed from tests/auto/compositor/mockseat.h) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/testcompositor.cpp (renamed from tests/auto/compositor/testcompositor.cpp) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/testcompositor.h (renamed from tests/auto/compositor/testcompositor.h) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/testinputdevice.cpp (renamed from tests/auto/compositor/testinputdevice.cpp) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/testinputdevice.h (renamed from tests/auto/compositor/testinputdevice.h) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/testkeyboardgrabber.cpp (renamed from tests/auto/compositor/testkeyboardgrabber.cpp) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/testkeyboardgrabber.h (renamed from tests/auto/compositor/testkeyboardgrabber.h) | 0 | ||||
-rw-r--r-- | tests/auto/compositor/compositor/tst_compositor.cpp (renamed from tests/auto/compositor/tst_compositor.cpp) | 0 |
14 files changed, 42 insertions, 37 deletions
diff --git a/tests/auto/compositor/compositor.pro b/tests/auto/compositor/compositor.pro index 9f9044fd..6bf2aef6 100644 --- a/tests/auto/compositor/compositor.pro +++ b/tests/auto/compositor/compositor.pro @@ -1,38 +1,3 @@ -CONFIG += testcase link_pkgconfig -CONFIG += wayland-scanner -TARGET = tst_compositor +TEMPLATE=subdirs -QT += testlib -QT += core-private gui-private waylandcompositor waylandcompositor-private - -!contains(QT_CONFIG, no-pkg-config) { - PKGCONFIG += wayland-client wayland-server -} else { - LIBS += -lwayland-client -lwayland-server -} - -config_xkbcommon { - !contains(QT_CONFIG, no-pkg-config) { - PKGCONFIG_PRIVATE += xkbcommon - } else { - LIBS_PRIVATE += -lxkbcommon - } -} else { - DEFINES += QT_NO_WAYLAND_XKB -} - -WAYLANDCLIENTSOURCES += \ - ../../../src/3rdparty/protocol/xdg-shell.xml \ - -SOURCES += tst_compositor.cpp \ - testcompositor.cpp \ - testkeyboardgrabber.cpp \ - mockclient.cpp \ - mockseat.cpp \ - testinputdevice.cpp - -HEADERS += testcompositor.h \ - testkeyboardgrabber.h \ - mockclient.h \ - mockseat.h \ - testinputdevice.h +SUBDIRS += compositor diff --git a/tests/auto/compositor/BLACKLIST b/tests/auto/compositor/compositor/BLACKLIST index df4672be..df4672be 100644 --- a/tests/auto/compositor/BLACKLIST +++ b/tests/auto/compositor/compositor/BLACKLIST diff --git a/tests/auto/compositor/compositor/compositor.pro b/tests/auto/compositor/compositor/compositor.pro new file mode 100644 index 00000000..d85c3048 --- /dev/null +++ b/tests/auto/compositor/compositor/compositor.pro @@ -0,0 +1,40 @@ +CONFIG += testcase link_pkgconfig +CONFIG += wayland-scanner +TARGET = tst_compositor + +QT += testlib +QT += core-private gui-private waylandcompositor waylandcompositor-private + +!contains(QT_CONFIG, no-pkg-config) { + PKGCONFIG += wayland-client wayland-server +} else { + LIBS += -lwayland-client -lwayland-server +} + +config_xkbcommon { + !contains(QT_CONFIG, no-pkg-config) { + PKGCONFIG_PRIVATE += xkbcommon + } else { + LIBS_PRIVATE += -lxkbcommon + } +} else { + DEFINES += QT_NO_WAYLAND_XKB +} + +WAYLANDCLIENTSOURCES += \ + ../../../../src/3rdparty/protocol/xdg-shell.xml \ + +SOURCES += \ + tst_compositor.cpp \ + testcompositor.cpp \ + testkeyboardgrabber.cpp \ + mockclient.cpp \ + mockseat.cpp \ + testinputdevice.cpp + +HEADERS += \ + testcompositor.h \ + testkeyboardgrabber.h \ + mockclient.h \ + mockseat.h \ + testinputdevice.h diff --git a/tests/auto/compositor/mockclient.cpp b/tests/auto/compositor/compositor/mockclient.cpp index 9b6d327a..9b6d327a 100644 --- a/tests/auto/compositor/mockclient.cpp +++ b/tests/auto/compositor/compositor/mockclient.cpp diff --git a/tests/auto/compositor/mockclient.h b/tests/auto/compositor/compositor/mockclient.h index 33ada638..33ada638 100644 --- a/tests/auto/compositor/mockclient.h +++ b/tests/auto/compositor/compositor/mockclient.h diff --git a/tests/auto/compositor/mockseat.cpp b/tests/auto/compositor/compositor/mockseat.cpp index 29c4a4e1..29c4a4e1 100644 --- a/tests/auto/compositor/mockseat.cpp +++ b/tests/auto/compositor/compositor/mockseat.cpp diff --git a/tests/auto/compositor/mockseat.h b/tests/auto/compositor/compositor/mockseat.h index 1c6d324c..1c6d324c 100644 --- a/tests/auto/compositor/mockseat.h +++ b/tests/auto/compositor/compositor/mockseat.h diff --git a/tests/auto/compositor/testcompositor.cpp b/tests/auto/compositor/compositor/testcompositor.cpp index dfa26a54..dfa26a54 100644 --- a/tests/auto/compositor/testcompositor.cpp +++ b/tests/auto/compositor/compositor/testcompositor.cpp diff --git a/tests/auto/compositor/testcompositor.h b/tests/auto/compositor/compositor/testcompositor.h index fb5909d1..fb5909d1 100644 --- a/tests/auto/compositor/testcompositor.h +++ b/tests/auto/compositor/compositor/testcompositor.h diff --git a/tests/auto/compositor/testinputdevice.cpp b/tests/auto/compositor/compositor/testinputdevice.cpp index 5c02dff8..5c02dff8 100644 --- a/tests/auto/compositor/testinputdevice.cpp +++ b/tests/auto/compositor/compositor/testinputdevice.cpp diff --git a/tests/auto/compositor/testinputdevice.h b/tests/auto/compositor/compositor/testinputdevice.h index e6134aa1..e6134aa1 100644 --- a/tests/auto/compositor/testinputdevice.h +++ b/tests/auto/compositor/compositor/testinputdevice.h diff --git a/tests/auto/compositor/testkeyboardgrabber.cpp b/tests/auto/compositor/compositor/testkeyboardgrabber.cpp index 315b7f4f..315b7f4f 100644 --- a/tests/auto/compositor/testkeyboardgrabber.cpp +++ b/tests/auto/compositor/compositor/testkeyboardgrabber.cpp diff --git a/tests/auto/compositor/testkeyboardgrabber.h b/tests/auto/compositor/compositor/testkeyboardgrabber.h index ca5f5162..ca5f5162 100644 --- a/tests/auto/compositor/testkeyboardgrabber.h +++ b/tests/auto/compositor/compositor/testkeyboardgrabber.h diff --git a/tests/auto/compositor/tst_compositor.cpp b/tests/auto/compositor/compositor/tst_compositor.cpp index 8405277b..8405277b 100644 --- a/tests/auto/compositor/tst_compositor.cpp +++ b/tests/auto/compositor/compositor/tst_compositor.cpp |