phoneuis/bubblemanager2/tsrc/unit/checkcoverage.cmd
changeset 36 2eacb6118286
parent 30 ebdbd102c78a
child 37 ba76fc04e6c2
equal deleted inserted replaced
30:ebdbd102c78a 36:2eacb6118286
     1 @echo off
       
     2 rem
       
     3 rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     4 rem All rights reserved.
       
     5 rem This component and the accompanying materials are made available
       
     6 rem under the terms of "Eclipse Public License v1.0"
       
     7 rem which accompanies this distribution, and is available
       
     8 rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     9 rem
       
    10 rem Initial Contributors:
       
    11 rem Nokia Corporation - initial contribution.
       
    12 rem
       
    13 rem Contributors:
       
    14 rem
       
    15 rem Description:
       
    16 rem
       
    17 
       
    18 @echo on
       
    19 :FINAL
       
    20 
       
    21 @echo off
       
    22 
       
    23 rmdir /q /s coverage
       
    24 mkdir coverage
       
    25 cd coverage
       
    26 
       
    27 if not "%1"=="mt_bubblemanager2" (
       
    28 echo Instrumenting %1
       
    29 call qmake^
       
    30  ..\%1\%1.pro
       
    31 call ctcwrap^
       
    32  mingw32-make debug
       
    33 call %1.exe
       
    34 )
       
    35 
       
    36 call ctcpost^
       
    37  mon.sym mon.dat^
       
    38  -p profile.txt
       
    39 call ctc2html -i profile.txt
       
    40 cd ..
       
    41 echo All done!
       
    42