add main for tests

This commit is contained in:
canpadawan
2016-06-24 17:27:15 +02:00
parent d4f0bd4b19
commit b7daf0f400
2 changed files with 42 additions and 4 deletions
+21 -4
View File
@@ -1,12 +1,19 @@
QT += widgets testlib
QT -= gui
QT += core gui serialbus widgets testlib serialbus
CONFIG += c++11
INCLUDEPATH += ../utils
INCLUDEPATH += ../ ../connections
SOURCES += \
tst_lfqueue.cpp
tst_lfqueue.cpp \
main.cpp \
tst_cancon.cpp \
../connections/canconfactory.cpp \
../connections/canconnection.cpp \
../connections/gvretserial.cpp \
../connections/socketcan.cpp \
../canbus.cpp
#HEADERS += \
@@ -14,3 +21,13 @@ SOURCES += \
target.path= .
INSTALLS += target
HEADERS += \
tst_lfqueue.h \
tst_cancon.h \
../connections/canconconst.h \
../connections/canconfactory.h \
../connections/canconnection.h \
../connections/gvretserial.h \
../connections/socketcan.h \
../canbus.h