aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/test-desktop-shortcuts.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index cd1a958..13fef2d 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -46,7 +46,7 @@ test_desktop_shortcuts_CFLAGS = \
-Wall -Werror \
-DSRCDIR="\"$(srcdir)\"" \
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir) \
- -DBUILD_DIR="\"$(builddir)\""
+ -DBUILD_DIR="\"$(abs_builddir)\""
test_desktop_shortcuts_LDADD = \
$(LIBINDICATOR_LIBS) \
diff --git a/tests/test-desktop-shortcuts.c b/tests/test-desktop-shortcuts.c
index 1a655f7..24657c7 100644
--- a/tests/test-desktop-shortcuts.c
+++ b/tests/test-desktop-shortcuts.c
@@ -103,6 +103,7 @@ test_desktop_shortcuts_launch (void)
g_assert(nicks_contains(nicks, "touch"));
g_assert(indicator_desktop_shortcuts_nick_exec(ids, "touch"));
+ g_usleep(100000);
g_assert(g_file_test(BUILD_DIR "/test-desktop-shortcuts-touch-test", G_FILE_TEST_EXISTS));
g_object_unref(ids);