Revision c4ff895e84c3d108d31b82e241f5d8fc43734263
nosnilmot at pidgin.im
nosnilmot at pidgin.im
Sat Mar 17 13:58:25 EDT 2007
o -----------------------------------------------------------------
| Revision: c4ff895e84c3d108d31b82e241f5d8fc43734263
| Ancestor: 1cc4c5764a1501b7b3656e61352d9f31a10381ee
| Author: nosnilmot at pidgin.im
| Date: 2007-03-17T17:29:40
| Branch: im.pidgin.pidgin
|
| Renamed entries:
| libpurple/tests/check_libgaim.c to libpurple/tests/check_libpurple.c
| Modified files:
| libpurple/tests/Makefile.am
| libpurple/tests/check_libpurple.c libpurple/tests/tests.h
|
| ChangeLog:
|
| libpurplify the 'make check' tests so they work again
|
|
| ============================================================
| --- libpurple/tests/Makefile.am 9a6153f8ed77bae198b7f33b7a17555764b7e48c
| +++ libpurple/tests/Makefile.am 794a3214b19e88e4938e0f51c7ea056be0149c9f
| @@ -1,26 +1,26 @@ if HAVE_CHECK
| if HAVE_CHECK
| -TESTS=check_libgaim
| +TESTS=check_libpurple
|
| -check_PROGRAMS=check_libgaim
| +check_PROGRAMS=check_libpurple
|
| -check_libgaim_SOURCES=\
| - check_libgaim.c \
| +check_libpurple_SOURCES=\
| + check_libpurple.c \
| tests.h \
| test_cipher.c \
| test_jabber_jutil.c \
| test_util.c \
| $(top_builddir)/libpurple/util.h
|
| -check_libgaim_CFLAGS=\
| +check_libpurple_CFLAGS=\
| @CHECK_CFLAGS@ \
| $(GLIB_CFLAGS) \
| -I.. \
| -DBUILDDIR=\"$(top_builddir)\"
|
| -check_libgaim_LDADD=\
| +check_libpurple_LDADD=\
| @CHECK_LIBS@ \
| $(GLIB_LIBS) \
| $(top_builddir)/libpurple/protocols/jabber/libjabber.la \
| - $(top_builddir)/libpurple/libgaim.la
| + $(top_builddir)/libpurple/libpurple.la
|
| endif
| ============================================================
| --- libpurple/tests/check_libgaim.c 15c9e14cd11e539526403a1216e11633be04800a
| +++ libpurple/tests/check_libpurple.c a44909cdd9801f4d4bc25754c5a98ef4e5be2aca
| @@ -7,7 +7,7 @@
| #include "tests.h"
|
| /******************************************************************************
| - * libgaim goodies
| + * libpurple goodies
| *****************************************************************************/
| static guint
| gaim_check_input_add(gint fd, GaimInputCondition condition,
| @@ -31,7 +31,7 @@ gaim_check_init(void) {
| gaim_eventloop_set_ui_ops(&eventloop_ui_ops);
|
| /* build our fake home directory */
| - home_dir = g_build_path(BUILDDIR, "libgaim", "tests", "home", NULL);
| + home_dir = g_build_path(BUILDDIR, "libpurple", "tests", "home", NULL);
| gaim_util_set_user_dir(home_dir);
| g_free(home_dir);
|
| @@ -58,7 +58,7 @@ int main(void)
| srunner_add_suite(sr, jabber_jutil_suite());
| srunner_add_suite(sr, util_suite());
|
| - /* make this a libgaim "ui" */
| + /* make this a libpurple "ui" */
| gaim_check_init();
|
| srunner_run_all (sr, CK_NORMAL);
| ============================================================
| --- libpurple/tests/tests.h b1b1599b6f37b4f85b182e27a66b97e9e1183f63
| +++ libpurple/tests/tests.h 545f4ac49cae4b2be569b0843f855b1fd5e6fee3
| @@ -5,7 +5,7 @@
| #include <check.h>
|
| /* define the test suites here */
| -/* remember to add the suite to the runner in check_libgaim.c */
| +/* remember to add the suite to the runner in check_libpurple.c */
| Suite * cipher_suite(void);
| Suite * jabber_jutil_suite(void);
| Suite * util_suite(void);
To get the patch for this revision, please do this:
mtn log --last 1 --diffs --from c4ff895e84c3d108d31b82e241f5d8fc43734263
More information about the Commits
mailing list