make "make test" target work properly
This commit is contained in:
parent
c7dd26d525
commit
cee2ed1542
@ -58,8 +58,9 @@ INSTALLS += translations
|
|||||||
|
|
||||||
QMAKE_EXTRA_TARGETS += lupdate lrelease
|
QMAKE_EXTRA_TARGETS += lupdate lrelease
|
||||||
|
|
||||||
test.depends = licensecheck lrelease
|
test.depends = licensecheck
|
||||||
test.commands = LD_LIBRARY_PATH=$$top_builddir/libnymea-core:$$top_builddir/libnymea:$$top_builddir/tests/testlib make check
|
test.depends += lrelease
|
||||||
|
test.commands = LD_LIBRARY_PATH=$$top_builddir/libnymea-core:$$top_builddir/libnymea:$$top_builddir/tests/testlib make check TESTRUNNER=\"dbus-test-runner --bus-type=system --task\"
|
||||||
QMAKE_EXTRA_TARGETS += test
|
QMAKE_EXTRA_TARGETS += test
|
||||||
|
|
||||||
# Show doc files in project tree
|
# Show doc files in project tree
|
||||||
|
|||||||
@ -13,3 +13,6 @@ LIBS += -L$$top_builddir/libnymea/ -lnymea \
|
|||||||
|
|
||||||
target.path = /usr/tests
|
target.path = /usr/tests
|
||||||
INSTALLS += target
|
INSTALLS += target
|
||||||
|
|
||||||
|
test.commands = LD_LIBRARY_PATH=../../../libnymea:../../../libnymea-core/:../../testlib/ make check TESTRUNNER=\"dbus-test-runner --bus-type=system --task\"
|
||||||
|
QMAKE_EXTRA_TARGETS += test
|
||||||
|
|||||||
Reference in New Issue
Block a user