blob: edd91be6328e46fcff3d57c1601d727f53fd2236 (
plain)
1
2
3
4
5
6
7
8
9
10
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
SUBDIRS = \
ipc \
common \
test-extraction-data \
test-writeback-data \
test-apps-data \
ttl \
unittest2 \
test-ontologies
configdir = $(datadir)/tracker-tests
config_DATA = \
trackertest
config_SCRIPTS = \
__init__.py \
$(slow_tests) \
$(standard_tests)
if HAVE_MAEMO
config_SCRIPTS += \
tests.xml \
tracker-tests.aegis
endif
standard_tests = \
01-insertion.py \
02-sparql-bugs.py
if HAVE_TRACKER_FTS
standard_tests += 03-fts-functions.py
endif
standard_tests += \
04-group-concat.py \
05-coalesce.py \
06-distance.py \
07-graph.py \
08-unique-insertions.py \
09-concurrent-query.py \
14-signals.py \
15-statistics.py \
16-collation.py \
17-ontology-changes.py \
200-backup-restore.py \
300-miner-basic-ops.py \
301-miner-resource-removal.py
if HAVE_TRACKER_FTS
standard_tests += 310-fts-indexing.py
endif
standard_tests += \
400-extractor.py \
500-writeback.py \
501-writeback-details.py \
600-applications-camera.py \
601-applications-sync.py
slow_tests = \
10-sqlite-misused.py \
11-sqlite-batch-misused.py \
12-transactions.py \
13-threaded-store.py
tests.xml:
@if test -h /targets/links/scratchbox.config ; then \
export SBOX_REDIRECT_IGNORE=/usr/bin/python ; \
fi;
$(top_srcdir)/tests/functional-tests/create-tests-xml.py $(standard_tests) > tests.xml
tracker-tests.aegis:
@if test -h /targets/links/scratchbox.config ; then \
export SBOX_REDIRECT_IGNORE=/usr/bin/python ; \
fi;
$(top_srcdir)/tests/functional-tests/create-tests-aegis.py $(standard_tests) > tracker-tests.aegis
10-sqlite-misused.py: ttl/gen-test-data.stamp
11-sqlite-misused-batch.py: ttl/gen-test-data.stamp
13-busy-store.py: ttl/gen-test-data.stamp
ttl/gen-test-data.stamp:
cd ttl && $(MAKE) $(AM_MAKEFLAGS)
TEST_RUNNER = $(top_srcdir)/tests/functional-tests/test-runner.sh
functional-test: ${standard_tests}
for test in ${standard_tests} ; do \
$(TEST_RUNNER) python $(top_srcdir)/tests/functional-tests/$$test; \
done
functional-test-slow: ${slow_tests}
@for test in ${slow_tests} ; do \
$(TEST_RUNNER) python $(top_srcdir)/tests/functional-tests/$$test; \
done
EXTRA_DIST = \
$(config_SCRIPTS) \
$(config_DATA) \
create-tests-xml.py
if HAVE_MAEMO
CLEANFILES = \
tests.xml \
tracker-tests.aegis
endif
|