Hello, 'make test' is failing, I made a small patch that fixes the tests that failed to compile, please see the patch attached.
-- أحمد المحمودي (Ahmed El-Mahmoudy) Digital design engineer GPG KeyID: 0xEDDDA1B7 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 B176 BC19 6A94 EDDD A1B7
Description: Fixes to make test target to work Author: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmo...@users.sourceforge.net> diff -ur src/mime/backend/Makefile /var/cache/pbuilder/build/19390/tmp/elinks-0.13~20100331/src/mime/backend/Makefile --- a/src/mime/backend/Makefile 2010-03-31 00:45:02.000000000 +0200 +++ b/src/mime/backend/Makefile 2010-03-31 22:17:46.838375825 +0200 @@ -11,7 +11,7 @@ # The dependencies are a bit funny here! I don't know why. Just remember to # make clean before making the test. --jonas -mailcap-cache.o: mailcap.c +mailcap-cache.o: $(top_srcdir)/src/mime/backend/mailcap.c $(call cmd,compile,-DTEST_MAILCAP) TESTDEPS = \ diff -ur src/protocol/test/stub.c /var/cache/pbuilder/build/19390/tmp/elinks-0.13~20100331/src/protocol/test/stub.c --- a/src/protocol/test/stub.c 2010-03-31 00:45:02.000000000 +0200 +++ b/src/protocol/test/stub.c 2010-03-31 22:29:36.022228055 +0200 @@ -61,6 +61,7 @@ protocol_external_handler_T name /* consume semicolon */ STUB_PROTOCOL_HANDLER(about_protocol_handler); STUB_PROTOCOL_HANDLER(bittorrent_protocol_handler); +STUB_PROTOCOL_HANDLER(bittorrent_peer_protocol_handler); STUB_PROTOCOL_HANDLER(data_protocol_handler); STUB_PROTOCOL_EXTERNAL_HANDLER(ecmascript_protocol_handler); STUB_PROTOCOL_HANDLER(file_protocol_handler); diff -ur src/protocol/test/uri-test.c /var/cache/pbuilder/build/19390/tmp/elinks-0.13~20100331/src/protocol/test/uri-test.c --- a/src/protocol/test/uri-test.c 2010-03-31 00:45:02.000000000 +0200 +++ b/src/protocol/test/uri-test.c 2010-03-31 22:30:52.686292734 +0200 @@ -3,6 +3,7 @@ #endif #include <stdlib.h> +#include <stdio.h> #include "elinks.h"
_______________________________________________ elinks-dev mailing list elinks-dev@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-dev