phonesrv_plat/call_information_api/tsrc/run_auto_tests.bat
branchRCL_3
changeset 56 2735883dd3f6
parent 44 987c9837762f
equal deleted inserted replaced
47:0a6dd2dc9970 56:2735883dd3f6
   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 -n %PATH_TO_COVERAGE_DATA%\%1 -i d -C "EXCLUDE=*" -C "NO_EXCLUDE=%TESTED_SRC%" "%SBS_CALL%"
   151 call ctcwrap -2comp -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 -p - %PATH_TO_COVERAGE_DATA%\*.sym | ctcmerge -i - -o profile.txt
   191 ctcpost %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