diff options
-rw-r--r-- | tests/Makefile.am | 8 | ||||
-rwxr-xr-x | tests/test.sh | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index a80f1d1..4f52706 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,3 +1,8 @@ +check: tests + +DBUS_RUNNER=dbus-test-runner --dbus-config /usr/share/dbus-test-runner/session.conf + +tests: test-glib-layout libexec_PROGRAMS = \ glib-server-nomenu \ @@ -15,6 +20,9 @@ glib_server_nomenu_LDADD = \ ../libdbusmenu-glib/libdbusmenu-glib.la \ $(DBUSMENUGLIB_LIBS) +test-glib-layout: test-glib-layout-client test-glib-layout-server + $(DBUS_RUNNER) --task ./test-glib-layout-client --task ./test-glib-layout-server + test_glib_layout_server_SOURCES = \ test-glib-layout-server.c diff --git a/tests/test.sh b/tests/test.sh deleted file mode 100755 index ea31515..0000000 --- a/tests/test.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -echo dbus-test-runner -d /usr/share/dbus-test-runner/session.conf --task ./test-glib-layout-client --task ./test-glib-layout-server -dbus-test-runner -d /usr/share/dbus-test-runner/session.conf --task ./test-glib-layout-client --task ./test-glib-layout-server |