1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

Document how to disable tests when certain --disable-* flags are used.

This commit is contained in:
Dan Fandrich 2008-10-07 20:28:25 +00:00
parent 31a3432a8e
commit feeabd08ab
2 changed files with 18 additions and 4 deletions

View File

@ -770,10 +770,12 @@ REDUCING SIZE
will not use, here are some other flags that can reduce the size of the will not use, here are some other flags that can reduce the size of the
library: library:
--disable-ares (disables support for the ARES DNS library) --disable-ares (disables support for the C-ARES DNS library)
--disable-cookies (disables support for HTTP cookies) --disable-cookies (disables support for HTTP cookies)
--disable-crypto-auth (disables HTTP cryptographic authentication) --disable-crypto-auth (disables HTTP cryptographic authentication)
--disable-ipv6 (disables support for IPv6) --disable-ipv6 (disables support for IPv6)
--disable-manual (disables support for the built-in documentation)
--disable-proxy (disables support for HTTP and SOCKS proxies)
--disable-verbose (eliminates debugging strings and error code strings) --disable-verbose (eliminates debugging strings and error code strings)
--enable-hidden-symbols (eliminates unneeded symbols in the shared library) --enable-hidden-symbols (eliminates unneeded symbols in the shared library)
--without-libidn (disables support for the libidn DNS library) --without-libidn (disables support for the libidn DNS library)
@ -791,11 +793,24 @@ REDUCING SIZE
Using these techniques it is possible to create an HTTP-only shared libcurl Using these techniques it is possible to create an HTTP-only shared libcurl
library for i386 Linux platforms that is only 96 KiB in size (as of libcurl library for i386 Linux platforms that is only 96 KiB in size (as of libcurl
version 7.17.1, using gcc 4.2.2). version pre-7.19.1, using gcc 4.2.2).
You may find that statically linking libcurl to your application will You may find that statically linking libcurl to your application will
result in a lower total size. result in a lower total size.
Note that the curl test harness can detect the use of some, but not all, of
the --disable statements suggested above. Use will cause tests relying on
those features to fail. The test harness can be manually forced to skip
the relevant tests by specifying certain key words on the runtests.pl
command line. Following is a list of appropriate key words:
--disable-cookies !cookies
--disable-crypto-auth !HTTP\ Digest\ auth !HTTP\ NTLM\ auth
!HTTP\ proxy\ Digest\ auth
!HTTP\ proxy\ NTLM\ auth
--disable-manual !--manual
--disable-proxy !HTTP\ proxy !SOCKS4 !SOCKS5
PORTS PORTS
===== =====

View File

@ -109,8 +109,7 @@ Code coverage:
and torture tests to get more full coverage, i.e. do: and torture tests to get more full coverage, i.e. do:
make test make test
cd tests make test-torture
make torture-test
The graphical tool ggcov can be used to browse the source and create The graphical tool ggcov can be used to browse the source and create
coverage reports on *NIX hosts: coverage reports on *NIX hosts: