This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
powersync-core/tests/auto/autotests.pri
2019-11-16 00:52:25 +01:00

19 lines
652 B
Plaintext

QT += testlib network sql
CONFIG += testcase
INCLUDEPATH += $$top_srcdir/libnymea \
$$top_srcdir/libnymea-core \
$$top_srcdir/tests/testlib/
LIBS += -L$$top_builddir/libnymea/ -lnymea \
-L$$top_builddir/libnymea-core/ -lnymea-core \
-L$$top_builddir/tests/testlib/ -lnymea-testlib \
-L$$top_builddir/plugins/mock/ \
-lssl -lcrypto -lnymea-remoteproxyclient
target.path = /usr/tests
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