Bunch of tests were in header files so they all got compiled when main got compiled.
Prefer to have them in seperate compilation units for faster make times when changing tests. Also parallel build is faster with seperate cpps.
This commit is contained in:
parent
c23282cc7a
commit
ee321b3fb1
7 changed files with 7 additions and 13 deletions
|
|
@ -1,10 +1,4 @@
|
|||
#include "tst_CsvWriter.h"
|
||||
#include "tst_expected.h"
|
||||
#include "tst_PasswordManager.h"
|
||||
#include "tst_scopeguard.h"
|
||||
#include "tst_SqlLexer.h"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
|
|||
|
|
@ -8,15 +8,15 @@ CONFIG += qt
|
|||
|
||||
QT += core
|
||||
|
||||
HEADERS += \
|
||||
tst_expected.h \
|
||||
tst_SqlLexer.h \
|
||||
tst_scopeguard.h \
|
||||
tst_CsvWriter.h \
|
||||
tst_PasswordManager.h
|
||||
HEADERS +=
|
||||
|
||||
SOURCES += main.cpp \
|
||||
tst_ExplainJsonParser.cpp \
|
||||
tst_expected.cpp \
|
||||
tst_SqlLexer.cpp \
|
||||
tst_scopeguard.cpp \
|
||||
tst_CsvWriter.cpp \
|
||||
tst_PasswordManager.cpp \
|
||||
tst_ParamJson.cpp
|
||||
|
||||
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../../core/release/ -lcore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue