diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2007-12-29 23:49:28 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-12-29 23:49:28 +0800 |
commit | 2c4f7c6b6549f8b95845f1838dd0dc710c9e8304 (patch) | |
tree | 73f77284e63c07544111aae1cea50f8fced8acf0 /tests/Makefile.am | |
parent | 876e427bafc95f2f13a333b9bca0d8982b7faf3d (diff) | |
download | gsoc2013-empathy-2c4f7c6b6549f8b95845f1838dd0dc710c9e8304.tar gsoc2013-empathy-2c4f7c6b6549f8b95845f1838dd0dc710c9e8304.tar.gz gsoc2013-empathy-2c4f7c6b6549f8b95845f1838dd0dc710c9e8304.tar.bz2 gsoc2013-empathy-2c4f7c6b6549f8b95845f1838dd0dc710c9e8304.tar.lz gsoc2013-empathy-2c4f7c6b6549f8b95845f1838dd0dc710c9e8304.tar.xz gsoc2013-empathy-2c4f7c6b6549f8b95845f1838dd0dc710c9e8304.tar.zst gsoc2013-empathy-2c4f7c6b6549f8b95845f1838dd0dc710c9e8304.zip |
Add "check" framework support. Fixes bug #505622 (Guillaume Desmottes).
svn path=/trunk/; revision=509
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 8c6094c95..29ed270ed 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,3 +1,9 @@ +CLEANFILES= + +include $(top_srcdir)/rules/check.mak + +SUPPRESSIONS=valgrind.supp dlopen.supp + AM_CPPFLAGS = \ -I$(top_srcdir) \ $(EMPATHY_CFLAGS) \ @@ -13,3 +19,24 @@ bin_PROGRAMS = \ contact_manager_SOURCES = contact-manager.c +if HAVE_CHECK +check_PROGRAMS = check-main +TESTS = check-main +check_main_SOURCES = \ + check-main.c \ + check-helpers.c \ + check-helpers.h \ + check-libempathy.h \ + check-empathy-utils.c + +check_main_LDADD = \ + @CHECK_LIBS@ \ + $(top_builddir)/libempathy-gtk/libempathy-gtk.la \ + $(top_builddir)/libempathy/libempathy.la \ + $(AM_LDFLAGS) + +check_main_CFLAGS = \ + @CHECK_CFLAGS@ \ + $(AM_CFLAGS) + +endif |