Mercurial > pidgin.yaz
view libpurple/tests/Makefile.am @ 31653:f1874b08b3f9
Add unit tests for oscar_util_name_compare. I suspected that this
function missed a few cases, but I was wrong, it's good.
I used ck_assert_int_eq and ck_assert_ne, which look like they
might be newer API. If that causes a problem we can change them
to fail_if and fail_unless
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 14 Feb 2011 03:10:09 +0000 |
parents | e743507b3767 |
children | 81a2ec76c285 |
line wrap: on
line source
if HAVE_CHECK TESTS=check_libpurple clean-local: -rm -rf libpurple.. check_PROGRAMS=check_libpurple check_libpurple_SOURCES=\ check_libpurple.c \ tests.h \ test_cipher.c \ test_jabber_caps.c \ test_jabber_digest_md5.c \ test_jabber_jutil.c \ test_jabber_scram.c \ test_oscar_util.c \ test_qq.c \ test_yahoo_util.c \ test_util.c \ $(top_builddir)/libpurple/util.h check_libpurple_CFLAGS=\ @CHECK_CFLAGS@ \ $(GLIB_CFLAGS) \ $(DEBUG_CFLAGS) \ $(LIBXML_CFLAGS) \ -I.. \ -I$(top_srcdir)/libpurple \ -DBUILDDIR=\"$(top_builddir)\" check_libpurple_LDADD=\ $(top_builddir)/libpurple/protocols/jabber/libjabber.la \ $(top_builddir)/libpurple/protocols/oscar/liboscar.la \ $(top_builddir)/libpurple/protocols/qq/libqq_tmp.la \ $(top_builddir)/libpurple/protocols/yahoo/libymsg.la \ $(top_builddir)/libpurple/libpurple.la \ @CHECK_LIBS@ \ $(GLIB_LIBS) endif