equal
deleted
inserted
replaced
145 |
145 |
146 pushd . |
146 pushd . |
147 call cd %1\group |
147 call cd %1\group |
148 call sbs --config winscw_udeb.test --keepgoing CLEAN |
148 call sbs --config winscw_udeb.test --keepgoing CLEAN |
149 if [%INSTRUMENT%] EQU [TRUE] ( |
149 if [%INSTRUMENT%] EQU [TRUE] ( |
150 call ctcwrap -2comp -n %PATH_TO_COVERAGE_DATA%\%1 -i d -C "EXCLUDE=*" -C "NO_EXCLUDE=%TESTED_SRC%" "%SBS_CALL%" |
150 call ctcwrap -n %PATH_TO_COVERAGE_DATA%\%1 -i d -C "EXCLUDE=*" -C "NO_EXCLUDE=%TESTED_SRC%" "%SBS_CALL%" |
151 ) else ( |
151 ) else ( |
152 call %SBS_CALL% |
152 call %SBS_CALL% |
153 ) |
153 ) |
154 |
154 |
155 popd |
155 popd |
185 :: |
185 :: |
186 :: Calculates test coverage. Generates html |
186 :: Calculates test coverage. Generates html |
187 :::::::::::::::::::::::::::::::::::::::::::::::::::::: |
187 :::::::::::::::::::::::::::::::::::::::::::::::::::::: |
188 :CALCULATECOVERAGE |
188 :CALCULATECOVERAGE |
189 echo Calculating coverage |
189 echo Calculating coverage |
190 ctcpost %PATH_TO_COVERAGE_DATA%\*.sym | ctcmerge -i - -o profile.txt |
190 ctcpost %PATH_TO_COVERAGE_DATA%\*.sym -p - | ctcmerge -i - -o profile.txt |
191 call ctc2html -t 70 -i profile.txt -o \coverage_result -nsb |
191 call ctc2html -t 70 -i profile.txt -o \coverage_result -nsb |
192 goto end |
192 goto end |
193 |
193 |
194 :::::::::::::::::::::::::::::::::::::::::::::::::::::: |
194 :::::::::::::::::::::::::::::::::::::::::::::::::::::: |
195 :: function REMOVETESTS |
195 :: function REMOVETESTS |