summaryrefslogtreecommitdiff
path: root/tools/run-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/run-tests.sh')
-rwxr-xr-xtools/run-tests.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/run-tests.sh b/tools/run-tests.sh
new file mode 100755
index 0000000..0d271d4
--- /dev/null
+++ b/tools/run-tests.sh
@@ -0,0 +1,16 @@
+#Environment variables for the tests
+export G_MESSAGES_DEBUG=all
+export SSO_STORAGE_PATH=/tmp/gsignond
+export SSO_SECRET_PATH=/tmp/gsignond
+
+rm -rf "$SSO_STORAGE_PATH"
+
+make distclean;
+autoreconf -fi;
+./configure --enable-dbus-type=session --enable-debug && \
+make -j4 && make check && make distclean && \
+./configure --enable-dbus-type=system --enable-debug && \
+make -j4 && make check && make distclean && \
+./configure --enable-dbus-type=p2p --enable-debug && \
+make -j4 && make check && make distclean;
+