Add tests to debian packaging script
This commit is contained in:
parent
4262e6eb9f
commit
5175052ab3
3
debian/rules
vendored
3
debian/rules
vendored
@ -15,6 +15,9 @@ override_dh_strip:
|
|||||||
dh_strip --dbg-package=libnymea-remoteproxy-dbg
|
dh_strip --dbg-package=libnymea-remoteproxy-dbg
|
||||||
dh_strip --dbg-package=libnymea-remoteproxyclient-dbg
|
dh_strip --dbg-package=libnymea-remoteproxyclient-dbg
|
||||||
|
|
||||||
|
override_dh_auto_test:
|
||||||
|
make test
|
||||||
|
|
||||||
override_dh_auto_clean:
|
override_dh_auto_clean:
|
||||||
dh_auto_clean
|
dh_auto_clean
|
||||||
find . -name *.qm -exec rm {} \;
|
find . -name *.qm -exec rm {} \;
|
||||||
|
|||||||
@ -15,6 +15,9 @@ server.depends = libnymea-remoteproxy
|
|||||||
client.depends = libnymea-remoteproxyclient
|
client.depends = libnymea-remoteproxyclient
|
||||||
tests.depends = libnymea-remoteproxy libnymea-remoteproxyclient
|
tests.depends = libnymea-remoteproxy libnymea-remoteproxyclient
|
||||||
|
|
||||||
|
test.commands = LD_LIBRARY_PATH=$$top_builddir/libnymea-remoteproxy:$$top_builddir/libnymea-remoteproxyclient make check
|
||||||
|
QMAKE_EXTRA_TARGETS += test
|
||||||
|
|
||||||
message("----------------------------------------------------------")
|
message("----------------------------------------------------------")
|
||||||
message("Building nymea-remoteproxy $${SERVER_VERSION}")
|
message("Building nymea-remoteproxy $${SERVER_VERSION}")
|
||||||
message("----------------------------------------------------------")
|
message("----------------------------------------------------------")
|
||||||
|
|||||||
Reference in New Issue
Block a user