phonesrv_plat/call_information_api/tsrc/run_auto_tests.bat
branchRCL_3
changeset 18 594d59766373
parent 8 ba42c4bd84dd
child 19 7d48bed6ce0c
equal deleted inserted replaced
17:c58fd5f0c240 18:594d59766373
   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 call sbs --config winscw_udeb.test --keepgoing reallyclean
   149 call sbs --config winscw_udeb.test --keepgoing reallyclean
   150 if [%INSTRUMENT%] EQU [TRUE] (
   150 if [%INSTRUMENT%] EQU [TRUE] (
   151 call ctcwrap -2comp -n %PATH_TO_COVERAGE_DATA%\%1 -i d -C "EXCLUDE=*" -C "NO_EXCLUDE=%TESTED_SRC%" "%SBS_CALL%"
   151 call ctcwrap -n %PATH_TO_COVERAGE_DATA%\%1 -i d -C "EXCLUDE=*" -C "NO_EXCLUDE=%TESTED_SRC%" "%SBS_CALL%"
   152 ) else (
   152 ) else (
   153 call %SBS_CALL%
   153 call %SBS_CALL%
   154 )
   154 )
   155 
   155 
   156 popd
   156 popd
   186 ::
   186 ::
   187 :: Calculates test coverage. Generates html
   187 :: Calculates test coverage. Generates html
   188 ::::::::::::::::::::::::::::::::::::::::::::::::::::::
   188 ::::::::::::::::::::::::::::::::::::::::::::::::::::::
   189 :CALCULATECOVERAGE
   189 :CALCULATECOVERAGE
   190 echo Calculating coverage
   190 echo Calculating coverage
   191 ctcpost %PATH_TO_COVERAGE_DATA%\*.sym | ctcmerge -i - -o profile.txt
   191 ctcpost -p - %PATH_TO_COVERAGE_DATA%\*.sym | ctcmerge -i - -o profile.txt
   192 call ctc2html -t 70 -i profile.txt -o \coverage_result -nsb
   192 call ctc2html -t 70 -i profile.txt -o \coverage_result -nsb
   193 goto end
   193 goto end
   194 
   194 
   195 ::::::::::::::::::::::::::::::::::::::::::::::::::::::
   195 ::::::::::::::::::::::::::::::::::::::::::::::::::::::
   196 :: function REMOVETESTS
   196 :: function REMOVETESTS