kwin/src/wayland/autotests/server
David Faure cac7d766b1 Make unittest independent from the location of the executable.
Summary:
This fixes the check in the unittest when doing
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
which I intend to do globally at some point.

Turns out it's comparing with its own executable location, so we
can use QCoreApplication to get it generically.

Test Plan: Verified to work with ctest and with "./testWaylandServerDisplay"

Reviewers: graesslin, mart

Reviewed By: graesslin, mart

Subscribers: plasma-devel, #frameworks

Tags: #plasma_on_wayland, #frameworks

Differential Revision: https://phabricator.kde.org/D6974
2017-07-30 01:05:45 +02:00
..
CMakeLists.txt Make unittest independent from the location of the executable. 2017-07-30 01:05:45 +02:00
surfaceextension_helper.cpp [autotest] Add a test case for QtSurfaceExtensionInterface 2016-04-13 14:20:48 +02:00
test_display.cpp Make unittest independent from the location of the executable. 2017-07-30 01:05:45 +02:00
test_no_xdg_runtime_dir.cpp [server] Handle no XDG_RUNTIME_DIR situation more gracefully 2016-07-13 09:20:03 +02:00
test_qt_surface_extension.cpp Autotests: solve warning for QProcess::ProcessState metatype registration 2017-06-03 01:16:11 +02:00
test_seat.cpp [server] Add Display::seats() -> QVector<SeatInterface*> 2015-12-15 15:49:12 +01:00