equal
deleted
inserted
replaced
137 pushd . |
137 pushd . |
138 call cd %1 |
138 call cd %1 |
139 call qmake |
139 call qmake |
140 call sbs --config winscw_udeb --keepgoing CLEAN |
140 call sbs --config winscw_udeb --keepgoing CLEAN |
141 if [%INSTRUMENT%] EQU [TRUE] ( |
141 if [%INSTRUMENT%] EQU [TRUE] ( |
142 call ctcwrap -2comp -n %PATH_TO_COVERAGE_DATA%\%1 -i d -C "EXCLUDE=*" -C "NO_EXCLUDE=%TESTED_SRC%" "%SBS_CALL%" |
142 call ctcwrap -n %PATH_TO_COVERAGE_DATA%\%1 -i d -C "EXCLUDE=*" -C "NO_EXCLUDE=%TESTED_SRC%" "%SBS_CALL%" |
143 ) else ( |
143 ) else ( |
144 call %SBS_CALL% |
144 call %SBS_CALL% |
145 ) |
145 ) |
146 |
146 |
147 popd |
147 popd |
167 :: |
167 :: |
168 :: Calculates test coverage. Generates html |
168 :: Calculates test coverage. Generates html |
169 :::::::::::::::::::::::::::::::::::::::::::::::::::::: |
169 :::::::::::::::::::::::::::::::::::::::::::::::::::::: |
170 :CALCULATECOVERAGE |
170 :CALCULATECOVERAGE |
171 echo Calculating coverage |
171 echo Calculating coverage |
172 ctcpost %PATH_TO_COVERAGE_DATA%\*.sym | ctcmerge -i - -o profile.txt |
172 ctcpost %PATH_TO_COVERAGE_DATA%\*.sym -p - | ctcmerge -i - -o profile.txt |
173 call ctc2html -t 70 -i profile.txt -o \coverage_result -nsb |
173 call ctc2html -t 70 -i profile.txt -o \coverage_result -nsb |
174 goto end |
174 goto end |
175 |
175 |
176 :::::::::::::::::::::::::::::::::::::::::::::::::::::: |
176 :::::::::::::::::::::::::::::::::::::::::::::::::::::: |
177 :: function REMOVECOVERAGE |
177 :: function REMOVECOVERAGE |