view libpurple/tests/Makefile.am @ 23482:314fcd0879ec

Use the correct xmlnode when processing SOAP Faults. When the MSN SOAP server sends a "psf:Redirect" Fault, look in the "Fault" node for the "redirectUrl", and not in the (possibly) non-existent "Body" node. This should fix login for @msn.com addresses, who seem to use a different login server. When we get a "wsse:FailedAuthentication" Fault, look in the "Fault" node for the "faultstring", instead of the "Body" node. Thanks, Dimmuxx.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Mon, 16 Jun 2008 01:43:10 +0000
parents b8774519bda0
children b0f0579f5f22
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_jutil.c \
		test_util.c \
		$(top_builddir)/libpurple/util.h

check_libpurple_CFLAGS=\
        @CHECK_CFLAGS@ \
		$(GLIB_CFLAGS) \
		$(DEBUG_CFLAGS) \
		-I.. \
		-I$(top_srcdir)/libpurple \
		-DBUILDDIR=\"$(top_builddir)\"

check_libpurple_LDADD=\
        @CHECK_LIBS@ \
		$(GLIB_LIBS) \
		$(top_builddir)/libpurple/protocols/jabber/libjabber.la \
		$(top_builddir)/libpurple/libpurple.la

endif