76
|
1 |
######################################################################
|
|
2 |
# Phone unit test qmake project include
|
|
3 |
######################################################################
|
|
4 |
|
|
5 |
runtest_target.target = runtest
|
|
6 |
runtest_target.commands = call "$${EPOCROOT}epoc32/release/winscw/udeb/$${TARGET}.exe"
|
|
7 |
QMAKE_EXTRA_TARGETS += runtest_target
|
|
8 |
|
|
9 |
# for coverage measurement
|
|
10 |
instrument_target.target = instrument
|
|
11 |
instrument_target.depends = clean-debug-winscw
|
|
12 |
instrument_target.commands = ctcwrap -2comp -i d -C "EXCLUDE=*" -C "NO_EXCLUDE=*/src/*.cpp" sbs -c winscw_udeb
|
|
13 |
QMAKE_EXTRA_TARGETS += instrument_target
|
|
14 |
|
|
15 |
runcovtest_target.target = runcovtest
|
|
16 |
runcovtest_target.depends = instrument
|
|
17 |
runcovtest_target.commands = call "$${EPOCROOT}epoc32/release/winscw/udeb/$${TARGET}.exe"
|
|
18 |
QMAKE_EXTRA_TARGETS += runcovtest_target
|
|
19 |
|
|
20 |
ctcpost_target.target = ctcpost
|
|
21 |
ctcpost_target.depends = runcovtest
|
|
22 |
ctcpost_target.commands = ctcpost mon.sym mon.dat -p profile.txt
|
|
23 |
QMAKE_EXTRA_TARGETS += ctcpost_target
|
|
24 |
|
|
25 |
ctc2html_target.target = ctc2html
|
|
26 |
ctc2html_target.depends = ctcpost
|
|
27 |
ctc2html_target.commands = ctc2html -i profile.txt
|
|
28 |
QMAKE_EXTRA_TARGETS += ctc2html_target
|
|
29 |
|
|
30 |
coverage_target.target = coverage
|
|
31 |
coverage_target.depends = ctc2html
|
|
32 |
coverage_target.commands = del MON.sym del MON.dat del ctc*.txt del profile.txt
|
|
33 |
QMAKE_EXTRA_TARGETS += coverage_target
|