Add test script for opensuse
authorJussi Laako <jussi.laako@linux.intel.com>
Fri, 24 May 2013 14:22:51 +0000 (17:22 +0300)
committerJussi Laako <jussi.laako@linux.intel.com>
Fri, 24 May 2013 14:22:51 +0000 (17:22 +0300)
tools/run-tests-suse.sh [new file with mode: 0755]

diff --git a/tools/run-tests-suse.sh b/tools/run-tests-suse.sh
new file mode 100755 (executable)
index 0000000..0d271d4
--- /dev/null
@@ -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;
+