diff options
author | Ted Gould <ted@canonical.com> | 2009-01-16 12:47:51 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-01-16 12:47:51 -0600 |
commit | 8f801277df211416ca9636b3d28ead43f9f50a35 (patch) | |
tree | 9ba348e8bdd89ecaec99fe600641673e44eff206 /libindicate/tests/indicate-and-crash.c | |
parent | 487239d3df7362f7f5ec5d4934a8672787f557e7 (diff) | |
download | libayatana-indicator-8f801277df211416ca9636b3d28ead43f9f50a35.tar.gz libayatana-indicator-8f801277df211416ca9636b3d28ead43f9f50a35.tar.bz2 libayatana-indicator-8f801277df211416ca9636b3d28ead43f9f50a35.zip |
Moving the tests so that they can guarantee to build after the library
builds as otherwise they end up getting built first.
Diffstat (limited to 'libindicate/tests/indicate-and-crash.c')
-rw-r--r-- | libindicate/tests/indicate-and-crash.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/libindicate/tests/indicate-and-crash.c b/libindicate/tests/indicate-and-crash.c deleted file mode 100644 index 5a50e30..0000000 --- a/libindicate/tests/indicate-and-crash.c +++ /dev/null @@ -1,20 +0,0 @@ - -#include <glib.h> -#include "libindicate/indicator.h" - -gboolean crashfunc (gpointer data) { *(int *)data = 5; return FALSE;} - -int -main (int argc, char ** argv) -{ - g_type_init(); - - IndicateIndicator * indicator = indicate_indicator_new(); - indicate_indicator_show(indicator); - - g_timeout_add_seconds(15, crashfunc, NULL); - - g_main_loop_run(g_main_loop_new(NULL, FALSE)); - - return 0; -} |