~michael-sheldon/ubuntu-keyboard/fix-oxide-dismiss-test

« back to all changes in this revision

Viewing changes to tests/common-check.pri

  • Committer: Thomas Moenicke
  • Date: 2013-07-19 12:05:07 UTC
  • Revision ID: thomas.moenicke@canonical.com-20130719120507-lzw5oq50xm567x0j
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
QMAKE_EXTRA_TARGETS += check
 
2
check.target = check
 
3
 
 
4
# This enables the maliit library for C++ code
 
5
CONFIG += maliit-plugins
 
6
 
 
7
qws {
 
8
    test_arguments += -qws
 
9
}
 
10
 
 
11
# Note that if datafiles are generated they would end out in
 
12
# $$OUT_PWD and this would fail
 
13
DATA_DIR = $$PWD/../data
 
14
 
 
15
check.commands = \
 
16
    MALIIT_PLUGINS_DATADIR=$$DATA_DIR \
 
17
    MALIIT_KEYBOARD_DATADIR=$$DATA_DIR \
 
18
    LD_LIBRARY_PATH=$$MALIIT_INSTALL_LIBS:$$[QT_INSTALL_LIBS]:$(LD_LIBRARY_PATH) \
 
19
    ./$$TARGET $$test_arguments
 
20
 
 
21
check.depends += $$TARGET
 
22
 
 
23
LIBS += ../common/$$maliitStaticLib(tests-common)
 
24
POST_TARGETDEPS += ../common/$$maliitStaticLib(tests-common)
 
25
 
 
26
INCLUDEPATH += \
 
27
    ../common \
 
28
    ../../lib \
 
29
    ../../ \