Mercurial > pidgin
annotate libpurple/tests/Makefile.am @ 31802:c2a7fde6a566
Fix potential crash when NAMES is empty.
Fixes #14518
committer: Ethan Blanton <elb@pidgin.im>
author | jamie@lacewing-project.org |
---|---|
date | Tue, 16 Aug 2011 17:11:39 +0000 |
parents | c8f91310bfbf |
children |
rev | line source |
---|---|
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1 if HAVE_CHECK |
15805
a0a5e323a6ac
libpurplify the 'make check' tests so they work again
Stu Tomlinson <stu@nosnilmot.com>
parents:
15452
diff
changeset
|
2 TESTS=check_libpurple |
15373
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:
15884
diff
changeset
|
4 clean-local: |
acd7e486db43
Make 'make distcheck' work
Stu Tomlinson <stu@nosnilmot.com>
parents:
15884
diff
changeset
|
5 -rm -rf libpurple.. |
acd7e486db43
Make 'make distcheck' work
Stu Tomlinson <stu@nosnilmot.com>
parents:
15884
diff
changeset
|
6 |
15805
a0a5e323a6ac
libpurplify the 'make check' tests so they work again
Stu Tomlinson <stu@nosnilmot.com>
parents:
15452
diff
changeset
|
7 check_PROGRAMS=check_libpurple |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
8 |
15805
a0a5e323a6ac
libpurplify the 'make check' tests so they work again
Stu Tomlinson <stu@nosnilmot.com>
parents:
15452
diff
changeset
|
9 check_libpurple_SOURCES=\ |
a0a5e323a6ac
libpurplify the 'make check' tests so they work again
Stu Tomlinson <stu@nosnilmot.com>
parents:
15452
diff
changeset
|
10 check_libpurple.c \ |
15373
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 \ |
30254
6362579b3d2e
jabber: Start adding some caps tests
Paul Aurich <paul@darkrain42.org>
parents:
28879
diff
changeset
|
13 test_jabber_caps.c \ |
31176
e743507b3767
jabber: Test harness for DIGEST-MD5 parsing function.
Paul Aurich <paul@darkrain42.org>
parents:
30254
diff
changeset
|
14 test_jabber_digest_md5.c \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
15 test_jabber_jutil.c \ |
28703
338eeaf371e2
jabber: Add the Hi() function (PBKDF2).
Paul Aurich <paul@darkrain42.org>
parents:
28201
diff
changeset
|
16 test_jabber_scram.c \ |
31204
f1874b08b3f9
Add unit tests for oscar_util_name_compare. I suspected that this
Mark Doliner <mark@kingant.net>
parents:
31176
diff
changeset
|
17 test_oscar_util.c \ |
27747
42359a734696
Add a super simple test for yahoo_codes_to_html(). I'm planning on
Mark Doliner <mark@kingant.net>
parents:
27247
diff
changeset
|
18 test_yahoo_util.c \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
19 test_util.c \ |
31680
c8f91310bfbf
Add a silly little check to make sure our xml parser isn't vulnerable to the
Mark Doliner <mark@kingant.net>
parents:
31514
diff
changeset
|
20 test_xmlnode.c \ |
15452 | 21 $(top_builddir)/libpurple/util.h |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
22 |
15805
a0a5e323a6ac
libpurplify the 'make check' tests so they work again
Stu Tomlinson <stu@nosnilmot.com>
parents:
15452
diff
changeset
|
23 check_libpurple_CFLAGS=\ |
15373
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) \ |
15884
c6e563dfaa7a
More s/gaim/pidgin/ and s/gaim/purple/ and make the RPM spec file work a bit
Stu Tomlinson <stu@nosnilmot.com>
parents:
15805
diff
changeset
|
26 $(DEBUG_CFLAGS) \ |
27247
b0f0579f5f22
I had to make these changes to get "make check" to run
Mark Doliner <mark@kingant.net>
parents:
22350
diff
changeset
|
27 $(LIBXML_CFLAGS) \ |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
28 -I.. \ |
22350 | 29 -I$(top_srcdir)/libpurple \ |
15373
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 |
15805
a0a5e323a6ac
libpurplify the 'make check' tests so they work again
Stu Tomlinson <stu@nosnilmot.com>
parents:
15452
diff
changeset
|
32 check_libpurple_LDADD=\ |
15452 | 33 $(top_builddir)/libpurple/protocols/jabber/libjabber.la \ |
31204
f1874b08b3f9
Add unit tests for oscar_util_name_compare. I suspected that this
Mark Doliner <mark@kingant.net>
parents:
31176
diff
changeset
|
34 $(top_builddir)/libpurple/protocols/oscar/liboscar.la \ |
27747
42359a734696
Add a super simple test for yahoo_codes_to_html(). I'm planning on
Mark Doliner <mark@kingant.net>
parents:
27247
diff
changeset
|
35 $(top_builddir)/libpurple/protocols/yahoo/libymsg.la \ |
28788
5152c6cea318
Make sure libpurple libraries are the first thing in the test suite's
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
28703
diff
changeset
|
36 $(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:
28703
diff
changeset
|
37 @CHECK_LIBS@ \ |
5152c6cea318
Make sure libpurple libraries are the first thing in the test suite's
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
28703
diff
changeset
|
38 $(GLIB_LIBS) |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
39 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
40 endif |