From 588efad1e8aebb936f94ddf21a45972ba4581306 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 9 Apr 2010 11:53:36 -0500 Subject: Fixing the desktop test to make it more reliable. --- tests/Makefile.am | 2 +- tests/test-desktop-shortcuts.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') 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); -- cgit v1.2.3