qthighway/runtests.cmd
branchRCL_3
changeset 22 5d007b20cfd0
equal deleted inserted replaced
21:885c2596c964 22:5d007b20cfd0
       
     1 @rem
       
     2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 @rem All rights reserved.
       
     4 @rem
       
     5 @rem This program is free software: you can redistribute it and/or modify
       
     6 @rem it under the terms of the GNU Lesser General Public License as published by
       
     7 @rem the Free Software Foundation, version 2.1 of the License.
       
     8 @rem 
       
     9 @rem This program is distributed in the hope that it will be useful,
       
    10 @rem but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    11 @rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    12 @rem GNU Lesser General Public License for more details.
       
    13 @rem
       
    14 @rem You should have received a copy of the GNU Lesser General Public License
       
    15 @rem along with this program.  If not, 
       
    16 @rem see "http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html/".
       
    17 @rem
       
    18 @rem Description:
       
    19 @rem
       
    20 
       
    21 @echo on
       
    22 
       
    23 IF ["%1"] EQU [""] GOTO :NODEL
       
    24 call del MON.sym
       
    25 call del MON.dat
       
    26 
       
    27 :NODEL
       
    28 call qmake -platform symbian-abld
       
    29 call bldmake bldfiles
       
    30 call abld clean
       
    31 call abld reallyclean
       
    32 
       
    33 IF ["%1"] EQU [""] GOTO :NORMAL
       
    34 
       
    35 echo -- Build and instrument QtHighway for Code coverage --
       
    36 call ctcwrap -i d -C "EXCLUDE+*\moc*.cpp" abld build winscw udeb
       
    37 
       
    38 :NORMAL
       
    39 echo -- Build QtHighway --
       
    40 call abld build winscw udeb
       
    41 
       
    42 call cd xqservice\tsrc
       
    43 call runall.cmd %1
       
    44 call cd \qthighway
       
    45 
       
    46 IF ["%1"] EQU [""] GOTO :END
       
    47 
       
    48 call ctcpost MON.sym MON.dat xqservice\tsrc\tst_xqservicechannel\MON.sym xqservice\tsrc\tst_xqservicechannel\MON.dat xqservice\tsrc\ut_xqserviceadaptor\MON.sym xqservice\tsrc\ut_xqserviceadaptor\MON.dat xqservice\tsrc\ut_xqservicechannel\MON.sym xqservice\tsrc\ut_xqservicechannel\MON.dat xqservice\tsrc\ut_xqserviceprovider\MON.sym xqservice\tsrc\ut_xqserviceprovider\MON.dat xqservice\tsrc\ut_xqservicerequest\MON.sym xqservice\tsrc\ut_xqservicerequest\MON.dat -p profile.txt
       
    49 
       
    50 echo -- Coverage calculated --
       
    51 
       
    52 :END
       
    53 echo -- Build Complete --
       
    54 
       
    55