phoneapp/phoneui2/tsrc/ut_phonemainwindow/common.pri
changeset 36 2eacb6118286
parent 30 ebdbd102c78a
child 37 ba76fc04e6c2
equal deleted inserted replaced
30:ebdbd102c78a 36:2eacb6118286
     1 #
       
     2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 #
       
    14 # Description: 
       
    15 #
       
    16 ######################################################################
       
    17 # Unit tests
       
    18 ######################################################################
       
    19 include(../../../../trunk_6742/trunk/hb/hb/hb.prf)
       
    20 
       
    21 CONFIG += hb qtestlib
       
    22  LIBS += -lphoneengine \
       
    23             -lphoneuiutils \
       
    24             -lphoneuicontrol \
       
    25             -lphoneuiqtviewadapter \
       
    26             -lphoneuiqtview \
       
    27             -lFeatMgr
       
    28 unix {
       
    29     test.commands = ./$(TARGET)
       
    30     autotest.commands = ./$(TARGET) -style plastique -xml -o ../$(QMAKE_TARGET).xml
       
    31 } else:win32 {
       
    32     DESTDIR = ./
       
    33     test.CONFIG += recursive
       
    34     autotest.CONFIG += recursive
       
    35     build_pass {
       
    36         test.commands = $(TARGET)
       
    37         autotest.commands = $(TARGET) -xml -o ../$(QMAKE_TARGET).xml
       
    38     }
       
    39 }
       
    40 QMAKE_EXTRA_TARGETS += test autotest