Mercurial > pidgin.yaz
annotate 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 |
rev | line source |
---|---|
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1 if HAVE_CHECK |
15806
a0a5e323a6ac
libpurplify the 'make check' tests so they work again
Stu Tomlinson <stu@nosnilmot.com>
parents:
15453
diff
changeset
|
2 TESTS=check_libpurple |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
3 |
21614
acd7e486db43
Make 'make distcheck' work
Stu Tomlinson <stu@nosnilmot.com>
parents:
15885
diff
changeset
|
4 clean-local: |
acd7e486db43
Make 'make distcheck' work
Stu Tomlinson <stu@nosnilmot.com>
parents:
15885
diff
changeset
|
5 -rm -rf libpurple.. |
acd7e486db43
Make 'make distcheck' work
Stu Tomlinson <stu@nosnilmot.com>
parents:
15885
diff
changeset
|
6 |
15806
a0a5e323a6ac
libpurplify the 'make check' tests so they work again
Stu Tomlinson <stu@nosnilmot.com>
parents:
15453
diff
changeset
|
7 check_PROGRAMS=check_libpurple |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
8 |
15806
a0a5e323a6ac
libpurplify the 'make check' tests so they work again
Stu Tomlinson <stu@nosnilmot.com>
parents:
15453
diff
changeset
|
9 check_libpurple_SOURCES=\ |
a0a5e323a6ac
libpurplify the 'make check' tests so they work again
Stu Tomlinson <stu@nosnilmot.com>
parents:
15453
diff
changeset
|
10 check_libpurple.c \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
11 tests.h \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
12 test_cipher.c \ |
30683
6362579b3d2e
jabber: Start adding some caps tests
Paul Aurich <paul@darkrain42.org>
parents:
29265
diff
changeset
|
13 test_jabber_caps.c \ |
31624
e743507b3767
jabber: Test harness for DIGEST-MD5 parsing function.
Paul Aurich <paul@darkrain42.org>
parents:
30683
diff
changeset
|
14 test_jabber_digest_md5.c \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
15 test_jabber_jutil.c \ |
29085
338eeaf371e2
jabber: Add the Hi() function (PBKDF2).
Paul Aurich <paul@darkrain42.org>
parents:
28560
diff
changeset
|
16 test_jabber_scram.c \ |
31653
f1874b08b3f9
Add unit tests for oscar_util_name_compare. I suspected that this
Mark Doliner <mark@kingant.net>
parents:
31624
diff
changeset
|
17 test_oscar_util.c \ |
28560
2da9e4266742
Add a test for qq's qq_encrypt function. Refs #10191. The string of
Mark Doliner <mark@kingant.net>
parents:
28084
diff
changeset
|
18 test_qq.c \ |
28084
42359a734696
Add a super simple test for yahoo_codes_to_html(). I'm planning on
Mark Doliner <mark@kingant.net>
parents:
27329
diff
changeset
|
19 test_yahoo_util.c \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
20 test_util.c \ |
15453 | 21 $(top_builddir)/libpurple/util.h |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
22 |
15806
a0a5e323a6ac
libpurplify the 'make check' tests so they work again
Stu Tomlinson <stu@nosnilmot.com>
parents:
15453
diff
changeset
|
23 check_libpurple_CFLAGS=\ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
24 @CHECK_CFLAGS@ \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
25 $(GLIB_CFLAGS) \ |
15885
c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents:
15806
diff
changeset
|
26 $(DEBUG_CFLAGS) \ |
27329
b0f0579f5f22
I had to make these changes to get "make check" to run
Mark Doliner <mark@kingant.net>
parents:
22340
diff
changeset
|
27 $(LIBXML_CFLAGS) \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
28 -I.. \ |
22340 | 29 -I$(top_srcdir)/libpurple \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
30 -DBUILDDIR=\"$(top_builddir)\" |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
31 |
15806
a0a5e323a6ac
libpurplify the 'make check' tests so they work again
Stu Tomlinson <stu@nosnilmot.com>
parents:
15453
diff
changeset
|
32 check_libpurple_LDADD=\ |
15453 | 33 $(top_builddir)/libpurple/protocols/jabber/libjabber.la \ |
31653
f1874b08b3f9
Add unit tests for oscar_util_name_compare. I suspected that this
Mark Doliner <mark@kingant.net>
parents:
31624
diff
changeset
|
34 $(top_builddir)/libpurple/protocols/oscar/liboscar.la \ |
29265
485f69e04d6a
Fix 'make check' on OS X by adding in a not-installed libqq shared lib.
fang@csl.cornell.edu
parents:
29170
diff
changeset
|
35 $(top_builddir)/libpurple/protocols/qq/libqq_tmp.la \ |
28084
42359a734696
Add a super simple test for yahoo_codes_to_html(). I'm planning on
Mark Doliner <mark@kingant.net>
parents:
27329
diff
changeset
|
36 $(top_builddir)/libpurple/protocols/yahoo/libymsg.la \ |
29170
5152c6cea318
Make sure libpurple libraries are the first thing in the test suite's
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29085
diff
changeset
|
37 $(top_builddir)/libpurple/libpurple.la \ |
5152c6cea318
Make sure libpurple libraries are the first thing in the test suite's
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29085
diff
changeset
|
38 @CHECK_LIBS@ \ |
5152c6cea318
Make sure libpurple libraries are the first thing in the test suite's
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
29085
diff
changeset
|
39 $(GLIB_LIBS) |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
40 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
41 endif |