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
-22
View File
@@ -1,22 +0,0 @@
#-------------------------------------------------
#
# Project created by QtCreator 2014-09-20T15:17:37
#
#-------------------------------------------------
QT += testlib
QT -= gui
TARGET = pack_test
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
LIBS += -lqmsgpack
INCLUDEPATH += ../../src
SOURCES += pack_test.cpp
DEFINES += SRCDIR=\\\"$$PWD/\\\"
+7
View File
@@ -0,0 +1,7 @@
TARGET = pack_test
QT += testlib
CONFIG += testcase
include(../tests.pri)
SOURCES += pack_test.cpp