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 TEMPLATE = subdirs
SUBDIRS += \ SUBDIRS += qtpromise
benchmark \
future \
helpers \
qpromise \
requirements \
thread

View File

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

View File

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

View File

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

View File

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

View File

@ -5,8 +5,8 @@ QT -= gui
DEFINES += QT_DEPRECATED_WARNINGS DEFINES += QT_DEPRECATED_WARNINGS
coverage: { coverage {
gcc: { gcc {
message("Code coverage enabled (gcov)") message("Code coverage enabled (gcov)")
QMAKE_CXXFLAGS += --coverage -O0 -g QMAKE_CXXFLAGS += --coverage -O0 -g
QMAKE_LFLAGS += --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 TARGET = tst_requirements
SOURCES += $$PWD/tst_requirements.cpp SOURCES += $$PWD/tst_requirements.cpp
include(../tests.pri) include(../qtpromise.pri)

View File

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