Build and run tests with qmake

as of now, running tests is as simple as just typing
  qmake && make check
This commit is contained in:
Konstantin Ritt
2018-11-20 21:21:07 +03:00
parent 6455058b4f
commit d9f37afe2e
7 changed files with 29 additions and 88 deletions
+3 -17
View File
@@ -1,21 +1,7 @@
#-------------------------------------------------
#
# Project created by QtCreator 2014-09-25T10:25:22
#
#-------------------------------------------------
QT += testlib
QT -= gui
TARGET = unpack_test
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
include($$PWD/../../qmsgpack.pri)
INCLUDEPATH += ../../src
QT += testlib
CONFIG += testcase
include(../tests.pri)
SOURCES += unpack_test.cpp
DEFINES += SRCDIR=\\\"$$PWD/\\\"