annotate libpurple/tests/Makefile.am @ 28788:5152c6cea318

Make sure libpurple libraries are the first thing in the test suite's library path. Maybe the newer libtool's don't leave out the system library path when constructing this now, but if the system path is first, running the tests will load the system version of libpurple instead of the just built copy. Fixes #10966.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 13 Dec 2009 02:27:48 +0000
parents 338eeaf371e2
children 485f69e04d6a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
13 test_jabber_jutil.c \
28703
338eeaf371e2 jabber: Add the Hi() function (PBKDF2).
Paul Aurich <paul@darkrain42.org>
parents: 28201
diff changeset
14 test_jabber_scram.c \
28201
2da9e4266742 Add a test for qq's qq_encrypt function. Refs #10191. The string of
Mark Doliner <mark@kingant.net>
parents: 27747
diff changeset
15 test_qq.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
16 test_yahoo_util.c \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
17 test_util.c \
15452
c6115dc73b28 dist fixes
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15373
diff changeset
18 $(top_builddir)/libpurple/util.h
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
19
15805
a0a5e323a6ac libpurplify the 'make check' tests so they work again
Stu Tomlinson <stu@nosnilmot.com>
parents: 15452
diff changeset
20 check_libpurple_CFLAGS=\
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
21 @CHECK_CFLAGS@ \
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
22 $(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
23 $(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
24 $(LIBXML_CFLAGS) \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
25 -I.. \
22350
b8774519bda0 Fix make distcheck
Stu Tomlinson <stu@nosnilmot.com>
parents: 21614
diff changeset
26 -I$(top_srcdir)/libpurple \
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
27 -DBUILDDIR=\"$(top_builddir)\"
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
28
15805
a0a5e323a6ac libpurplify the 'make check' tests so they work again
Stu Tomlinson <stu@nosnilmot.com>
parents: 15452
diff changeset
29 check_libpurple_LDADD=\
15452
c6115dc73b28 dist fixes
Daniel Atallah <daniel.atallah@gmail.com>
parents: 15373
diff changeset
30 $(top_builddir)/libpurple/protocols/jabber/libjabber.la \
28201
2da9e4266742 Add a test for qq's qq_encrypt function. Refs #10191. The string of
Mark Doliner <mark@kingant.net>
parents: 27747
diff changeset
31 $(top_builddir)/libpurple/protocols/qq/libqq.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
32 $(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
33 $(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
34 @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
35 $(GLIB_LIBS)
15373
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
36
5fe8042783c1 Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff changeset
37 endif