/
ut_rndssucli.pro
37 lines (27 loc) · 845 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
HEADERS = \
rndssuclitest.h \
SOURCES = \
main.cpp \
rndssuclitest.cpp \
TEMPLATE = app
TARGET = ut_rndssucli
LIBS += \
-lssu \
13
-ltestutils \
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
CONFIG -= app_bundle
CONFIG += console qtestlib
QT -= gui
QT += network testlib
!include( ../tests.pri ) { error("Unable to find tests include") }
unix:target.path = $${PREFIX}/$$TESTS_PATH
INSTALLS += target
test_data_etc.path = $${TESTS_DATA_PATH}/configroot/etc/ssu
test_data_etc.files = \
$${PWD}/testdata/ssu.ini \
test_data_usr_share.path = $${TESTS_DATA_PATH}/configroot/usr/share/ssu
test_data_usr_share.files = \
$${PWD}/testdata/ssu-defaults.ini \
$${PWD}/testdata/repos.ini \
$${PWD}/testdata/board-mappings.ini \
INSTALLS += test_data_etc test_data_usr_share
!include( ../../buildpath.pri ) { error("Unable to find build path specification") }