~laney/ubuntu-system-settings/battery-charge-graph

« back to all changes in this revision

Viewing changes to lib/tests/tst_plugins.pro

  • Committer: Alberto Mardegan
  • Date: 2013-05-08 08:55:54 UTC
  • Revision ID: alberto.mardegan@canonical.com-20130508085554-jjcanw47dt26e5li
Change directory structure: add libSystemSettings

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include(../../common-project-config.pri)
 
2
include($${TOP_SRC_DIR}/common-vars.pri)
 
3
include($${TOP_SRC_DIR}/common-installs-config.pri)
 
4
 
 
5
TARGET = tst_plugins
 
6
 
 
7
CONFIG += \
 
8
    debug \
 
9
    qtestlib
 
10
 
 
11
QT += \
 
12
    core
 
13
 
 
14
SRC_DIR = $$TOP_SRC_DIR/lib/SystemSettings
 
15
SOURCES += \
 
16
    tst_plugins.cpp \
 
17
    $$SRC_DIR/plugin-manager.cpp \
 
18
    $$SRC_DIR/plugin.cpp
 
19
HEADERS += \
 
20
    $$SRC_DIR/debug.h \
 
21
    $$SRC_DIR/plugin-manager.h \
 
22
    $$SRC_DIR/plugin.h
 
23
 
 
24
INCLUDEPATH += \
 
25
    . \
 
26
    $$SRC_DIR
 
27
 
 
28
DEFINES += \
 
29
    DEBUG_ENABLED \
 
30
    PLUGIN_BASE_DIR=\\\"$${TOP_SRC_DIR}/lib/tests/data\\\" \
 
31
    UNIT_TESTS
 
32
 
 
33
check.commands = "xvfb-run -a ./$$TARGET"
 
34
check.depends = $$TARGET
 
35
QMAKE_EXTRA_TARGETS += check