Skip to content

Latest commit

 

History

History
57 lines (42 loc) · 1.35 KB

tests.pro

File metadata and controls

57 lines (42 loc) · 1.35 KB
 
Jun 19, 2013
Jun 19, 2013
1
2
3
equals(QT_MAJOR_VERSION, 4): PACKAGENAME = nemo-transfer-engine
equals(QT_MAJOR_VERSION, 5): PACKAGENAME = nemo-transfer-engine-qt5
Apr 10, 2013
Apr 10, 2013
5
TARGET = ut_nemo-transfer-engine
6
7
DEPENDPATH += .
INCLUDEPATH += . ../src ../lib
May 13, 2013
May 13, 2013
8
9
10
CONFIG += link_pkgconfig
equals(QT_MAJOR_VERSION, 4): PKGCONFIG += quillmetadata
equals(QT_MAJOR_VERSION, 5): PKGCONFIG += quillmetadata-qt5
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Test files
HEADERS += \
ut_imageoperation.h \
ut_mediatransferinterface.h
SOURCES += \
main.cpp \
ut_imageoperation.cpp \
ut_mediatransferinterface.cpp
# Import filess from the actual project
HEADERS += \
../lib/imageoperation.h \
../lib/mediatransferinterface.h \
../lib/mediaitem.h
SOURCES += \
../lib/imageoperation.cpp \
../lib/mediatransferinterface.cpp \
../lib/mediaitem.cpp
QT += testlib
Jun 19, 2013
Jun 19, 2013
37
38
39
40
41
42
43
44
45
46
47
48
49
50
PATH = /opt/tests/$${PACKAGENAME}
tests_xml.target = tests.xml
tests_xml.depends = $$PWD/tests.xml.in
tests_xml.commands = sed -e "s:@PACKAGENAME@:$${PACKAGENAME}:g" $< > $@
QMAKE_EXTRA_TARGETS = tests_xml
QMAKE_CLEAN += $$tests_xml.target
PRE_TARGETDEPS += $$tests_xml.target
tests_install.depends = tests_xml
tests_install.path = $$PATH
tests_install.files = $$tests_xml.target
tests_install.CONFIG += no_check_exist
Apr 10, 2013
Apr 10, 2013
51
52
53
resources.files = images/testimage.jpg
resources.path = $$PATH/images
Jun 19, 2013
Jun 19, 2013
54
55
56
target.path = $$PATH
Jun 19, 2013
Jun 19, 2013
57
INSTALLS += target resources tests_install