curl/tests/libtest
Peter Wu 17d27805f9 cmake: add ENABLE_THREADED_RESOLVER, rename ARES
Fix detection of the AsynchDNS feature which not just depends on
pthreads support, but also on whether USE_POSIX_THREADS is set or not.
Caught by test 1014.

This patch adds a new ENABLE_THREADED_RESOLVER option (corresponding to
--enable-threaded-resolver of autotools) which also needs a check for
HAVE_PTHREAD_H.

For symmetry with autotools, CURL_USE_ARES is renamed to ENABLE_ARES
(--enable-ares). Checks that test for the availability actually use
USE_ARES instead as that is the result of whether a-res is available or
not (in practice this does not matter as CARES is marked as required
package, but nevertheless it is better to write the intent).

Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-11-10 09:09:25 +01:00
..
.gitignore libtest: gitignore more binary files 2013-05-08 14:35:45 +02:00
chkhostname.c
CMakeLists.txt cmake: add ENABLE_THREADED_RESOLVER, rename ARES 2014-11-10 09:09:25 +01:00
first.c libtests: add a wait_ms() function 2014-05-09 16:50:42 +02:00
lib500.c test585: Fixed NULL pointer dereference in fopen 2014-05-01 11:00:30 +02:00
lib501.c
lib502.c
lib503.c
lib504.c
lib505.c tests: Use CURLOPT_READDATA instead of the obsolete CURLOPT_INFILE 2014-06-18 01:17:23 +02:00
lib506.c test506: Fixed a couple of memory leaks in test 2014-09-26 06:57:52 +02:00
lib507.c
lib508.c tests: Use CURLOPT_READDATA instead of the obsolete CURLOPT_INFILE 2014-06-18 01:17:23 +02:00
lib509.c
lib510.c tests: Use CURLOPT_READDATA instead of the obsolete CURLOPT_INFILE 2014-06-18 01:17:23 +02:00
lib511.c
lib512.c
lib513.c tests: Use CURLOPT_READDATA instead of the obsolete CURLOPT_INFILE 2014-06-18 01:17:23 +02:00
lib514.c
lib515.c
lib516.c
lib517.c
lib518.c
lib519.c
lib520.c
lib521.c
lib523.c
lib524.c
lib525.c
lib526.c
lib530.c
lib533.c
lib536.c
lib537.c
lib539.c
lib540.c
lib541.c tests: Use CURLOPT_READDATA instead of the obsolete CURLOPT_INFILE 2014-06-18 01:17:23 +02:00
lib542.c
lib543.c
lib544.c lib544.c: use duphandle for test 545 2014-11-05 08:05:14 +01:00
lib547.c
lib549.c
lib552.c
lib553.c
lib554.c
lib555.c
lib556.c
lib557.c mprintf: Replaced internal usage of FORMAT_OFF_T and FORMAT_OFF_TU 2013-12-31 11:10:42 +00:00
lib558.c
lib560.c
lib562.c
lib564.c libtest: fix data type of some *_setopt() 'long' arguments 2013-07-22 21:40:45 +02:00
lib566.c
lib567.c
lib568.c
lib569.c
lib570.c libtest: fix data type of some *_setopt() 'long' arguments 2013-07-22 21:40:45 +02:00
lib571.c libtest: fix data type of some *_setopt() 'long' arguments 2013-07-22 21:40:45 +02:00
lib572.c
lib573.c
lib574.c
lib575.c
lib576.c
lib578.c
lib579.c tests: Use CURLOPT_READDATA instead of the obsolete CURLOPT_INFILE 2014-06-18 01:17:23 +02:00
lib582.c
lib583.c
lib586.c libtest: fix data type of some *_setopt() 'long' arguments 2013-07-22 21:40:45 +02:00
lib590.c
lib591.c
lib597.c
lib598.c
lib599.c Ensure progress.size_dl/progress.size_ul are always >= 0 2014-09-07 23:23:12 +02:00
lib1500.c tests: Use standard libtest return codes when relevant 2014-05-05 15:30:05 +02:00
lib1501.c
lib1502.c
lib1506.c lib1506: make sure the transfers are not within the same ms 2014-05-09 16:50:42 +02:00
lib1507.c tests: make a few lib15?? tests pass the OOM torture tests 2014-01-29 00:40:33 +01:00
lib1508.c
lib1509.c lib1509.c: fix compiler warnings 2013-04-04 16:31:27 +02:00
lib1510.c tests: make a few lib15?? tests pass the OOM torture tests 2014-01-29 00:40:33 +01:00
lib1511.c test 1511: fix enumerated type mixed with another type 2013-07-11 17:01:02 +02:00
lib1512.c lib1512.c: Fixed compilation warning 2013-09-02 20:39:53 +01:00
lib1513.c test1513: Don't return an uninitialized variable on init failure 2014-05-05 15:29:23 +02:00
lib1514.c test1514: Got rid of a non-const initializer C99ism 2014-01-22 01:49:55 +01:00
lib1515.c lib1515.c: Fixed #include path in commit 647f83e809 2014-02-19 20:36:36 +00:00
lib1525.c CURLOPT_HEADEROPT: added 2014-04-04 17:03:43 +02:00
lib1526.c tests: Fixed torture test for tests 1526 & 1527 2014-04-22 22:43:57 +02:00
lib1527.c tests: Fixed torture test for tests 1526 & 1527 2014-04-22 22:43:57 +02:00
lib1528.c PROXYHEADER: send these headers in "normal" proxy requests too 2014-04-04 17:03:43 +02:00
lib1900.c lib1900: make the test pass the OOM torture tests 2014-01-29 00:19:34 +01:00
libauthretry.c tests: make the authorization retry tests pass the torture tests 2014-01-30 23:18:20 +01:00
libntlmconnect.c libtest: fix data type of some *_setopt() 'long' arguments 2013-07-22 21:40:45 +02:00
Makefile.am
Makefile.inc libtest: fixed duplicated line in Makefile 2014-07-24 15:19:46 +02:00
notexists.pl
sethostname.c
sethostname.h tests: fix libhostname visibility 2014-11-10 09:06:48 +01:00
test75.pl
test307.pl
test610.pl
test613.pl
test1013.pl test1013.pl: GSS-Negotiate doesn't exist as a feature anymore 2014-07-24 23:46:11 +02:00
test1022.pl
test.h libtests: add a wait_ms() function 2014-05-09 16:50:42 +02:00
testtrace.c
testtrace.h
testutil.c
testutil.h