1
TEMPLATE = subdirs
2
3
SUBDIRS += common
4
5
# tests
6
TESTNAMES = loading painting scrolling cycler layout \
7
            graphicspainting graphicsscrolling zooming \
8
            loading_one_qnetworkaccessmanager \
9
            cycler_one_qnetworkaccessmanager \
10
11
SUBDIRS += tests_loading tests_painting tests_scrolling tests_cycler tests_layout \
12
           tests_graphicspainting tests_graphicsscrolling tests_zooming \
13
           tests_loading_one_qnetworkaccessmanager \
14
           tests_cycler_one_qnetworkaccessmanager \
15
           tests_cycler_one_qnetworkaccessmanager_with_pipelining \
16
17
!symbian: {
18
TESTNAMES += continuous_animation
19
SUBDIRS += tests_continuous_animation
20
}
21
22
tests_loading.subdir = tests/loading
23
tests_loading.depends = common
24
tests_painting.subdir = tests/painting
25
tests_painting.depends = common
26
tests_scrolling.subdir = tests/scrolling
27
tests_scrolling.depends = common
28
tests_cycler.subdir = tests/cycler
29
tests_cycler.depends = common
30
tests_layout.subdir = tests/layout
31
tests_layout.depends = common
32
tests_graphicspainting.subdir = tests/graphicspainting
33
tests_graphicspainting.depends = common
34
tests_graphicsscrolling.subdir = tests/graphicsscrolling
35
tests_graphicsscrolling.depends = common
36
tests_zooming.subdir = tests/zooming
37
tests_zooming.depends = common
38
tests_loading_one_qnetworkaccessmanager.subdir = tests/loading_one_qnetworkaccessmanager
39
tests_loading_one_qnetworkaccessmanager.depends = common
40
tests_cycler_one_qnetworkaccessmanager.subdir = tests/cycler_one_qnetworkaccessmanager
41
tests_cycler_one_qnetworkaccessmanager.depends = common
42
tests_cycler_one_qnetworkaccessmanager_with_pipelining.subdir = tests/cycler_one_qnetworkaccessmanager_with_pipelining
43
tests_cycler_one_qnetworkaccessmanager_with_pipelining.depends = common
44
45
tests_continuous_animation.subdir = tests/continuous_animation
46
tests_continuous_animation.depends = common
47
48
49
!symbian: {
50
# reductions
51
!lessThan(QT_MINOR_VERSION, 6): {
52
    SUBDIRS += tests_loading_standalone
53
    tests_loading_standalone.subdir = reductions/loading_standalone
54
    tests_loading_standalone.depends = common
55
}
56
57
# host tools
58
SUBDIRS += host-tools/http_server ht_mirror
59
ht_mirror.subdir = host-tools/mirror
60
ht_mirror.depends = common
61
}
62
63
symbian: {
64
load(data_caging_paths)
65
66
TARGET.CAPABILITY = NetworkServices LocalServices ReadUserData WriteUserData UserEnvironment
67
RSS_RULES ="group_name=\"QtBenchmarks\";"
68
69
vendorinfo = \
70
    "; Localised Vendor name" \
71
    "%{\"Nokia, Qt\"}" \
72
    " " \
73
    "; Unique Vendor name" \
74
    ":\"Nokia, Qt\"" \
75
    " "
76
77
default_deployment.pkg_prerules += vendorinfo
78
79
for(tname,TESTNAMES) {
80
  testsexe.sources += tst_$${tname}.exe
81
}
82
83
testsexe.path = c:PROGRAMS_DIR
84
85
for(tname,TESTNAMES) {
86
  testrsc.sources += $${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/tst_$${tname}.rsc
87
}
88
testrsc.path = c:$$APP_RESOURCE_DIR
89
90
for(tname,TESTNAMES) {
91
  testregrsc.sources += $${EPOCROOT}$$HW_ZDIR$$REG_RESOURCE_IMPORT_DIR/tst_$${tname}_reg.rsc
92
}
93
testregrsc.path = $$REG_RESOURCE_IMPORT_DIR
94
95
exists(perfurls.txt) {
96
testurls.sources = perfurls.txt
97
testurls.path = c:/data/Others
98
}
99
100
DEPLOYMENT += testrsc testregrsc testsexe testurls
101
}