phoneapp/phoneuicontrol/tsrc/ut_cphonenumberentrymanager/run_auto_tests.bat
changeset 76 cfea66083b62
parent 74 d1c62c765e48
equal deleted inserted replaced
74:d1c62c765e48 76:cfea66083b62
   149 
   149 
   150 pushd .
   150 pushd .
   151 call cd %1\group
   151 call cd %1\group
   152 call sbs --config winscw_udeb.test --keepgoing CLEAN
   152 call sbs --config winscw_udeb.test --keepgoing CLEAN
   153 if [%INSTRUMENT%] EQU [TRUE] (
   153 if [%INSTRUMENT%] EQU [TRUE] (
   154 call ctcwrap -2comp -n %PATH_TO_COVERAGE_DATA%\%1 -i d -C "EXCLUDE=*" -C "NO_EXCLUDE=%TESTED_SRC%" "%SBS_CALL%"
   154 call ctcwrap -n %PATH_TO_COVERAGE_DATA%\%1 -i d -C "EXCLUDE=*" -C "NO_EXCLUDE=%TESTED_SRC%" "%SBS_CALL%"
   155 ) else (
   155 ) else (
   156 call %SBS_CALL%
   156 call %SBS_CALL%
   157 )
   157 )
   158 
   158 
   159 popd
   159 popd
   189 ::
   189 ::
   190 :: Calculates test coverage. Generates html
   190 :: Calculates test coverage. Generates html
   191 ::::::::::::::::::::::::::::::::::::::::::::::::::::::
   191 ::::::::::::::::::::::::::::::::::::::::::::::::::::::
   192 :CALCULATECOVERAGE
   192 :CALCULATECOVERAGE
   193 echo Calculating coverage
   193 echo Calculating coverage
   194 ctcpost %PATH_TO_COVERAGE_DATA%\*.sym | ctcmerge -i - -o profile.txt
   194 ctcpost %PATH_TO_COVERAGE_DATA%\*.sym -p - | ctcmerge -i - -o profile.txt
   195 call ctc2html -t 70 -i profile.txt -o \coverage_result -nsb
   195 call ctc2html -t 70 -i profile.txt -o \coverage_result -nsb
   196 goto end
   196 goto end
   197 
   197 
   198 ::::::::::::::::::::::::::::::::::::::::::::::::::::::
   198 ::::::::::::::::::::::::::::::::::::::::::::::::::::::
   199 :: function REMOVETESTS
   199 :: function REMOVETESTS