diff options
author | Ted Gould <ted@gould.cx> | 2010-04-09 11:53:36 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-04-09 11:53:36 -0500 |
commit | 588efad1e8aebb936f94ddf21a45972ba4581306 (patch) | |
tree | 320baa1bb84419899f1f66db020547e2f2c6fe9d | |
parent | 8e19cd3881b9fb3df540ff0ac3b9e297dddd70be (diff) | |
download | libayatana-indicator-588efad1e8aebb936f94ddf21a45972ba4581306.tar.gz libayatana-indicator-588efad1e8aebb936f94ddf21a45972ba4581306.tar.bz2 libayatana-indicator-588efad1e8aebb936f94ddf21a45972ba4581306.zip |
Fixing the desktop test to make it more reliable.
-rw-r--r-- | tests/Makefile.am | 2 | ||||
-rw-r--r-- | tests/test-desktop-shortcuts.c | 1 |
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); |