Move tests under their own qtpromise sub folder

This commit is contained in:
Simon Brunel 2017-09-19 09:39:13 +02:00
parent 931d5d5b13
commit 36a0eed12a
15 changed files with 18 additions and 16 deletions

View File

@ -1,8 +1,2 @@
TEMPLATE = subdirs
SUBDIRS += \
benchmark \
future \
helpers \
qpromise \
requirements \
thread
SUBDIRS += qtpromise

View File

@ -1,4 +1,4 @@
TARGET = tst_benchmark
SOURCES += $$PWD/tst_benchmark.cpp
include(../tests.pri)
include(../qtpromise.pri)

View File

@ -2,4 +2,4 @@ QT += concurrent
TARGET = tst_future
SOURCES += $$PWD/tst_future.cpp
include(../tests.pri)
include(../qtpromise.pri)

View File

@ -1,4 +1,4 @@
TARGET = tst_helpers
SOURCES += $$PWD/tst_helpers.cpp
include(../tests.pri)
include(../qtpromise.pri)

View File

@ -1,4 +1,4 @@
TARGET = tst_qpromise
SOURCES += $$PWD/tst_qpromise.cpp
include(../tests.pri)
include(../qtpromise.pri)

View File

@ -5,8 +5,8 @@ QT -= gui
DEFINES += QT_DEPRECATED_WARNINGS
coverage: {
gcc: {
coverage {
gcc {
message("Code coverage enabled (gcov)")
QMAKE_CXXFLAGS += --coverage -O0 -g
QMAKE_LFLAGS += --coverage -O0 -g
@ -15,4 +15,4 @@ coverage: {
}
}
include(../../qtpromise.pri)
include(../../../qtpromise.pri)

View File

@ -0,0 +1,8 @@
TEMPLATE = subdirs
SUBDIRS += \
benchmark \
future \
helpers \
qpromise \
requirements \
thread

View File

@ -1,4 +1,4 @@
TARGET = tst_requirements
SOURCES += $$PWD/tst_requirements.cpp
include(../tests.pri)
include(../qtpromise.pri)

View File

@ -2,4 +2,4 @@ QT += concurrent
TARGET = tst_thread
SOURCES += $$PWD/tst_thread.cpp
include(../tests.pri)
include(../qtpromise.pri)