From 681ff5542ca4d2405d19ddd9809b0a8cf2d697e8 Mon Sep 17 00:00:00 2001 From: Paul Olav Tvete Date: Thu, 20 Aug 2015 15:25:22 +0200 Subject: QTestLib integration In order to work with the new CI system, we need to link with testlib. Change-Id: I285d651c2e1189a79153a6d942c10522305f2f3c Reviewed-by: Paul Olav Tvete --- tests/modules/SharedWakelock/SharedWakelock.pro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/modules/SharedWakelock/SharedWakelock.pro') diff --git a/tests/modules/SharedWakelock/SharedWakelock.pro b/tests/modules/SharedWakelock/SharedWakelock.pro index 85f422a..4cc96c2 100644 --- a/tests/modules/SharedWakelock/SharedWakelock.pro +++ b/tests/modules/SharedWakelock/SharedWakelock.pro @@ -1,4 +1,4 @@ -TARGET = sharedwakelock_test +TESTNAME = sharedwakelock CONFIG += gtest_own_main @@ -14,5 +14,9 @@ QT += testlib dbus PKGCONFIG += libqtdbusmock-1 libqtdbustest-1 +# It is also possible to use hardcoded paths for testing: +# LIBS += -lqtdbustest -lqtdbusmock +# INCLUDEPATH += /usr/include/libqtdbustest-1 +# INCLUDEPATH += /usr/include/libqtdbusmock-1 SOURCES += sharedwakelock_test.cpp -- cgit v1.2.3