diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libtest/Makefile.inc | 35 | ||||
-rw-r--r-- | tests/libtest/lib503.c | 1 | ||||
-rw-r--r-- | tests/libtest/lib504.c | 1 | ||||
-rw-r--r-- | tests/libtest/lib507.c | 1 | ||||
-rw-r--r-- | tests/libtest/lib525.c | 1 | ||||
-rw-r--r-- | tests/libtest/lib526.c | 1 | ||||
-rw-r--r-- | tests/libtest/lib530.c | 1 | ||||
-rw-r--r-- | tests/libtest/lib533.c | 1 | ||||
-rw-r--r-- | tests/libtest/lib536.c | 1 | ||||
-rw-r--r-- | tests/libtest/lib540.c | 1 | ||||
-rw-r--r-- | tests/libtest/lib560.c | 2 | ||||
-rw-r--r-- | tests/libtest/lib564.c | 1 | ||||
-rw-r--r-- | tests/libtest/lib575.c | 1 | ||||
-rw-r--r-- | tests/libtest/lib582.c | 1 |
14 files changed, 33 insertions, 16 deletions
diff --git a/tests/libtest/Makefile.inc b/tests/libtest/Makefile.inc index 06cda1e92..d8cda570f 100644 --- a/tests/libtest/Makefile.inc +++ b/tests/libtest/Makefile.inc @@ -1,6 +1,9 @@ # files used only in some libcurl test programs TESTUTIL = testutil.c testutil.h +# files used only in some libcurl test programs +WARNLESS = $(top_srcdir)/lib/warnless.c $(top_srcdir)/lib/warnless.h + # these files are used in every single test program below SUPPORTFILES = first.c test.h @@ -25,15 +28,15 @@ lib501_SOURCES = lib501.c $(SUPPORTFILES) lib502_SOURCES = lib502.c $(SUPPORTFILES) $(TESTUTIL) -lib503_SOURCES = lib503.c $(SUPPORTFILES) $(TESTUTIL) +lib503_SOURCES = lib503.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS) -lib504_SOURCES = lib504.c $(SUPPORTFILES) $(TESTUTIL) +lib504_SOURCES = lib504.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS) lib505_SOURCES = lib505.c $(SUPPORTFILES) lib506_SOURCES = lib506.c $(SUPPORTFILES) -lib507_SOURCES = lib507.c $(SUPPORTFILES) $(TESTUTIL) +lib507_SOURCES = lib507.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS) lib508_SOURCES = lib508.c $(SUPPORTFILES) @@ -65,32 +68,32 @@ lib523_SOURCES = lib523.c $(SUPPORTFILES) lib524_SOURCES = lib524.c $(SUPPORTFILES) -lib525_SOURCES = lib525.c $(SUPPORTFILES) $(TESTUTIL) +lib525_SOURCES = lib525.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS) -lib526_SOURCES = lib526.c $(SUPPORTFILES) $(TESTUTIL) +lib526_SOURCES = lib526.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS) lib526_CFLAGS = -DLIB526 -lib527_SOURCES = lib526.c $(SUPPORTFILES) $(TESTUTIL) +lib527_SOURCES = lib526.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS) lib527_CFLAGS = -DLIB527 -lib529_SOURCES = lib525.c $(SUPPORTFILES) $(TESTUTIL) +lib529_SOURCES = lib525.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS) lib529_CFLAGS = -DLIB529 -lib530_SOURCES = lib530.c $(SUPPORTFILES) $(TESTUTIL) +lib530_SOURCES = lib530.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS) lib530_CFLAGS = -DLIB530 -lib532_SOURCES = lib526.c $(SUPPORTFILES) $(TESTUTIL) +lib532_SOURCES = lib526.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS) lib532_CFLAGS = -DLIB532 -lib533_SOURCES = lib533.c $(SUPPORTFILES) $(TESTUTIL) +lib533_SOURCES = lib533.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS) -lib536_SOURCES = lib536.c $(SUPPORTFILES) $(TESTUTIL) +lib536_SOURCES = lib536.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS) lib537_SOURCES = lib537.c $(SUPPORTFILES) lib539_SOURCES = lib539.c $(SUPPORTFILES) -lib540_SOURCES = lib540.c $(SUPPORTFILES) +lib540_SOURCES = lib540.c $(SUPPORTFILES) $(WARNLESS) lib541_SOURCES = lib541.c $(SUPPORTFILES) @@ -122,17 +125,17 @@ lib556_SOURCES = lib556.c $(SUPPORTFILES) lib557_SOURCES = lib557.c $(SUPPORTFILES) -lib560_SOURCES = lib560.c $(SUPPORTFILES) +lib560_SOURCES = lib560.c $(SUPPORTFILES) $(WARNLESS) lib574_SOURCES = lib574.c $(SUPPORTFILES) -lib575_SOURCES = lib575.c $(SUPPORTFILES) +lib575_SOURCES = lib575.c $(SUPPORTFILES) $(WARNLESS) lib576_SOURCES = lib576.c $(SUPPORTFILES) lib562_SOURCES = lib562.c $(SUPPORTFILES) -lib564_SOURCES = lib564.c $(SUPPORTFILES) $(TESTUTIL) +lib564_SOURCES = lib564.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS) lib565_SOURCES = lib510.c $(SUPPORTFILES) lib565_CFLAGS = -DLIB565 @@ -157,7 +160,7 @@ lib578_SOURCES = lib578.c $(SUPPORTFILES) lib579_SOURCES = lib579.c $(SUPPORTFILES) -lib582_SOURCES = lib582.c $(SUPPORTFILES) $(TESTUTIL) +lib582_SOURCES = lib582.c $(SUPPORTFILES) $(TESTUTIL) $(WARNLESS) lib583_SOURCES = lib583.c $(SUPPORTFILES) diff --git a/tests/libtest/lib503.c b/tests/libtest/lib503.c index d6ef58a00..25a641548 100644 --- a/tests/libtest/lib503.c +++ b/tests/libtest/lib503.c @@ -24,6 +24,7 @@ #include <sys/types.h> #include "testutil.h" +#include "warnless.h" #include "memdebug.h" #define MAIN_LOOP_HANG_TIMEOUT 90 * 1000 diff --git a/tests/libtest/lib504.c b/tests/libtest/lib504.c index 55ad5ff31..f45ac256b 100644 --- a/tests/libtest/lib504.c +++ b/tests/libtest/lib504.c @@ -24,6 +24,7 @@ #include <sys/types.h> #include "testutil.h" +#include "warnless.h" #include "memdebug.h" #define MAIN_LOOP_HANG_TIMEOUT 90 * 1000 diff --git a/tests/libtest/lib507.c b/tests/libtest/lib507.c index a52fabec1..c5a009d8c 100644 --- a/tests/libtest/lib507.c +++ b/tests/libtest/lib507.c @@ -22,6 +22,7 @@ #include "test.h" #include "testutil.h" +#include "warnless.h" #include "memdebug.h" #define MAIN_LOOP_HANG_TIMEOUT 90 * 1000 diff --git a/tests/libtest/lib525.c b/tests/libtest/lib525.c index 2765897fd..f034050eb 100644 --- a/tests/libtest/lib525.c +++ b/tests/libtest/lib525.c @@ -26,6 +26,7 @@ #include <fcntl.h> #include "testutil.h" +#include "warnless.h" #include "memdebug.h" #define MAIN_LOOP_HANG_TIMEOUT 90 * 1000 diff --git a/tests/libtest/lib526.c b/tests/libtest/lib526.c index 27b87bdd8..a0085ec3c 100644 --- a/tests/libtest/lib526.c +++ b/tests/libtest/lib526.c @@ -45,6 +45,7 @@ #include <fcntl.h> #include "testutil.h" +#include "warnless.h" #include "memdebug.h" #define MAIN_LOOP_HANG_TIMEOUT 90 * 1000 diff --git a/tests/libtest/lib530.c b/tests/libtest/lib530.c index 2ec67f61b..add64ea31 100644 --- a/tests/libtest/lib530.c +++ b/tests/libtest/lib530.c @@ -32,6 +32,7 @@ #endif #include "testutil.h" +#include "warnless.h" #include "memdebug.h" #define MAIN_LOOP_HANG_TIMEOUT 90 * 1000 diff --git a/tests/libtest/lib533.c b/tests/libtest/lib533.c index 62ce2cdb9..606eba75c 100644 --- a/tests/libtest/lib533.c +++ b/tests/libtest/lib533.c @@ -28,6 +28,7 @@ #include <fcntl.h> #include "testutil.h" +#include "warnless.h" #include "memdebug.h" #define MAIN_LOOP_HANG_TIMEOUT 90 * 1000 diff --git a/tests/libtest/lib536.c b/tests/libtest/lib536.c index 6e3e7571c..dca880cea 100644 --- a/tests/libtest/lib536.c +++ b/tests/libtest/lib536.c @@ -26,6 +26,7 @@ #include <fcntl.h> #include "testutil.h" +#include "warnless.h" #include "memdebug.h" #define MAIN_LOOP_HANG_TIMEOUT 90 * 1000 diff --git a/tests/libtest/lib540.c b/tests/libtest/lib540.c index 32d2342d5..55457dd46 100644 --- a/tests/libtest/lib540.c +++ b/tests/libtest/lib540.c @@ -30,6 +30,7 @@ #include "test.h" +#include "warnless.h" #include "memdebug.h" #define PROXY libtest_arg2 diff --git a/tests/libtest/lib560.c b/tests/libtest/lib560.c index 081ad738f..e375be535 100644 --- a/tests/libtest/lib560.c +++ b/tests/libtest/lib560.c @@ -21,6 +21,8 @@ ***************************************************************************/ #include "test.h" +#include "warnless.h" + /* * Simply download a HTTPS file! * diff --git a/tests/libtest/lib564.c b/tests/libtest/lib564.c index c4495f517..d831d21e1 100644 --- a/tests/libtest/lib564.c +++ b/tests/libtest/lib564.c @@ -27,6 +27,7 @@ #include <fcntl.h> #include "testutil.h" +#include "warnless.h" #include "memdebug.h" #define MAIN_LOOP_HANG_TIMEOUT 90 * 1000 diff --git a/tests/libtest/lib575.c b/tests/libtest/lib575.c index bb075dc1f..4d0b16576 100644 --- a/tests/libtest/lib575.c +++ b/tests/libtest/lib575.c @@ -27,6 +27,7 @@ #include <fcntl.h> #include "testutil.h" +#include "warnless.h" #include "memdebug.h" /* 3x download! diff --git a/tests/libtest/lib582.c b/tests/libtest/lib582.c index 3797e87bb..3b7f1afee 100644 --- a/tests/libtest/lib582.c +++ b/tests/libtest/lib582.c @@ -26,6 +26,7 @@ #include <fcntl.h> #include "testutil.h" +#include "warnless.h" #include "memdebug.h" #define MAIN_LOOP_HANG_TIMEOUT 4 * 1000 |