| | 95 | # ******************************************* |
| | 96 | # test suite |
| | 97 | # ******************************************* |
| | 98 | |
| | 99 | test_suite { |
| | 100 | TARGET = mcbuilder_test |
| | 101 | DEFINES += MCBUILDER_TEST_SUITE |
| | 102 | CONFIG += qtestlib |
| | 103 | CONFIG -= release # always, no matter what it's set to above |
| | 104 | DESTDIR = tests |
| | 105 | INCLUDEPATH += tests |
| | 106 | |
| | 107 | SOURCES -= src/main.cpp |
| | 108 | |
| | 109 | SOURCES += tests/main.cpp \ |
| | 110 | tests/TestProjectManager.cpp \ |
| | 111 | tests/TestBuilder.cpp \ |
| | 112 | |
| | 113 | HEADERS += tests/TestProjectManager.h \ |
| | 114 | tests/TestBuilder.h |
| | 115 | } |