tests: Enable "make check" to run unit tests
authorSergio Ahumada <sergio.ahumada@digia.com>
Sat, 28 Sep 2013 12:42:31 +0000 (14:42 +0200)
committerKurt Pattyn <pattyn.kurt@gmail.com>
Sat, 28 Sep 2013 18:31:15 +0000 (20:31 +0200)
Change-Id: I8333e7a19d937003f16a02d4e10e1a542150d63f
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
tests/tests.pro

index 5909c68..dc855d1 100644 (file)
@@ -1,8 +1,9 @@
 cache()
 
-QT += core network
+QT += core network testlib
 
 TARGET = unittests
+CONFIG  += testcase
 CONFIG  += console
 CONFIG += c++11
 CONFIG  -= app_bundle
@@ -34,6 +35,4 @@ HEADERS += \
 INCLUDEPATH +=
 DEPENDPATH +=
 
-QT += testlib
-
 DEFINES += SRCDIR=\\\"$$PWD/\\\"