gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 01/02: testcurl tests: updated to use test helpers in lo


From: gnunet
Subject: [libmicrohttpd] 01/02: testcurl tests: updated to use test helpers in local headers
Date: Wed, 12 Jan 2022 17:18:26 +0100

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 856d71686610e5e708ae796be1d0cd2c2c7cf579
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Jan 11 17:47:44 2022 +0300

    testcurl tests: updated to use test helpers in local headers
---
 src/testcurl/Makefile.am                 | 80 ++++++++++++++++----------------
 src/testcurl/test_add_conn.c             |  3 +-
 src/testcurl/test_get.c                  |  3 +-
 src/testcurl/test_get_close_keep_alive.c |  3 +-
 src/testcurl/test_get_empty.c            |  3 +-
 src/testcurl/test_large_put.c            |  3 +-
 src/testcurl/test_toolarge.c             |  3 +-
 src/testcurl/test_tricky.c               |  3 +-
 8 files changed, 53 insertions(+), 48 deletions(-)

diff --git a/src/testcurl/Makefile.am b/src/testcurl/Makefile.am
index 3d9f6000..da209679 100644
--- a/src/testcurl/Makefile.am
+++ b/src/testcurl/Makefile.am
@@ -183,7 +183,7 @@ test_concurrent_stop_LDADD = \
   $(PTHREAD_LIBS) $(LDADD)
 
 test_get_SOURCES = \
-  test_get.c
+  test_get.c mhd_has_in_name.h mhd_has_param.h
 
 test_quiesce_SOURCES = \
   test_quiesce.c mhd_has_param.h mhd_has_in_name.h
@@ -264,56 +264,54 @@ test_urlparse_SOURCES = \
 
 test_get_response_cleanup_SOURCES = \
   test_get_response_cleanup.c mhd_has_in_name.h
-test_get_response_cleanup_LDADD = \
-  $(top_builddir)/src/microhttpd/libmicrohttpd.la
 
 test_get_chunked_SOURCES = \
-  test_get_chunked.c
+  test_get_chunked.c mhd_has_in_name.h
 
 test_get_chunked_close_SOURCES = \
-  test_get_chunked.c
+  test_get_chunked.c mhd_has_in_name.h
 
 test_get_chunked_string_SOURCES = \
-  test_get_chunked.c
+  test_get_chunked.c mhd_has_in_name.h
 
 test_get_chunked_close_string_SOURCES = \
-  test_get_chunked.c
+  test_get_chunked.c mhd_has_in_name.h
 
 test_get_chunked_empty_SOURCES = \
-  test_get_chunked.c
+  test_get_chunked.c mhd_has_in_name.h
 
 test_get_chunked_close_empty_SOURCES = \
-  test_get_chunked.c
+  test_get_chunked.c mhd_has_in_name.h
 
 test_get_chunked_string_empty_SOURCES = \
-  test_get_chunked.c
+  test_get_chunked.c mhd_has_in_name.h
 
 test_get_chunked_close_string_empty_SOURCES = \
-  test_get_chunked.c
+  test_get_chunked.c mhd_has_in_name.h
 
 test_get_chunked_sized_SOURCES = \
-  test_get_chunked.c
+  test_get_chunked.c mhd_has_in_name.h
 
 test_get_chunked_close_sized_SOURCES = \
-  test_get_chunked.c
+  test_get_chunked.c mhd_has_in_name.h
 
 test_get_chunked_empty_sized_SOURCES = \
-  test_get_chunked.c
+  test_get_chunked.c mhd_has_in_name.h
 
 test_get_chunked_close_empty_sized_SOURCES = \
-  test_get_chunked.c
+  test_get_chunked.c mhd_has_in_name.h
 
 test_get_chunked_forced_SOURCES = \
-  test_get_chunked.c
+  test_get_chunked.c mhd_has_in_name.h
 
 test_get_chunked_close_forced_SOURCES = \
-  test_get_chunked.c
+  test_get_chunked.c mhd_has_in_name.h
 
 test_get_chunked_empty_forced_SOURCES = \
-  test_get_chunked.c
+  test_get_chunked.c mhd_has_in_name.h
 
 test_get_chunked_close_empty_forced_SOURCES = \
-  test_get_chunked.c
+  test_get_chunked.c mhd_has_in_name.h
 
 test_post_SOURCES = \
   test_post.c mhd_has_in_name.h
@@ -351,35 +349,35 @@ test_put_chunked_SOURCES = \
   test_put_chunked.c
 
 test_add_conn_SOURCES = \
-  test_add_conn.c $(top_srcdir)/src/microhttpd/test_helpers.h
+  test_add_conn.c mhd_has_in_name.h mhd_has_param.h
 test_add_conn_CFLAGS = \
   $(PTHREAD_CFLAGS) $(AM_CFLAGS)
 test_add_conn_LDADD = \
   $(PTHREAD_LIBS) $(LDADD)
 
 test_add_conn_nolisten_SOURCES = \
-  test_add_conn.c $(top_srcdir)/src/microhttpd/test_helpers.h
+  test_add_conn.c mhd_has_in_name.h mhd_has_param.h
 test_add_conn_nolisten_CFLAGS = \
   $(PTHREAD_CFLAGS) $(AM_CFLAGS)
 test_add_conn_nolisten_LDADD = \
   $(PTHREAD_LIBS) $(LDADD)
 
 test_add_conn_cleanup_SOURCES = \
-  test_add_conn.c $(top_srcdir)/src/microhttpd/test_helpers.h
+  test_add_conn.c mhd_has_in_name.h mhd_has_param.h
 test_add_conn_cleanup_CFLAGS = \
   $(PTHREAD_CFLAGS) $(AM_CFLAGS)
 test_add_conn_cleanup_LDADD = \
   $(PTHREAD_LIBS) $(LDADD)
 
 test_add_conn_cleanup_nolisten_SOURCES = \
-  test_add_conn.c $(top_srcdir)/src/microhttpd/test_helpers.h
+  test_add_conn.c mhd_has_in_name.h mhd_has_param.h
 test_add_conn_cleanup_nolisten_CFLAGS = \
   $(PTHREAD_CFLAGS) $(AM_CFLAGS)
 test_add_conn_cleanup_nolisten_LDADD = \
   $(PTHREAD_LIBS) $(LDADD)
 
 test_get11_SOURCES = \
-  test_get.c
+  test_get.c mhd_has_in_name.h mhd_has_param.h
 
 test_get_iovec11_SOURCES = \
   test_get_iovec.c mhd_has_in_name.h
@@ -388,16 +386,16 @@ test_get_sendfile11_SOURCES = \
   test_get_sendfile.c mhd_has_in_name.h
 
 test_get_close_SOURCES = \
-  test_get_close_keep_alive.c $(top_srcdir)/src/microhttpd/test_helpers.h
+  test_get_close_keep_alive.c mhd_has_in_name.h mhd_has_param.h
 
 test_get_close10_SOURCES = \
-  test_get_close_keep_alive.c $(top_srcdir)/src/microhttpd/test_helpers.h
+  test_get_close_keep_alive.c mhd_has_in_name.h mhd_has_param.h
 
 test_get_keep_alive_SOURCES = \
-  test_get_close_keep_alive.c $(top_srcdir)/src/microhttpd/test_helpers.h
+  test_get_close_keep_alive.c mhd_has_in_name.h mhd_has_param.h
 
 test_get_keep_alive10_SOURCES = \
-  test_get_close_keep_alive.c $(top_srcdir)/src/microhttpd/test_helpers.h
+  test_get_close_keep_alive.c mhd_has_in_name.h mhd_has_param.h
 
 test_post11_SOURCES = \
   test_post.c mhd_has_in_name.h
@@ -414,13 +412,13 @@ test_put11_SOURCES = \
   test_put.c mhd_has_in_name.h
 
 test_large_put_SOURCES = \
-  test_large_put.c
+  test_large_put.c mhd_has_in_name.h mhd_has_param.h
 
 test_large_put11_SOURCES = \
-  test_large_put.c
+  test_large_put.c mhd_has_in_name.h mhd_has_param.h
 
 test_large_put_inc11_SOURCES = \
-  test_large_put.c
+  test_large_put.c mhd_has_in_name.h mhd_has_param.h
 
 test_long_header_SOURCES = \
   test_long_header.c mhd_has_in_name.h
@@ -438,32 +436,32 @@ test_timeout_SOURCES = \
   test_timeout.c mhd_has_in_name.h
 
 test_toolarge_method_SOURCES = \
-  test_toolarge.c ../microhttpd/test_helpers.h
+  test_toolarge.c mhd_has_in_name.h mhd_has_param.h
 
 test_toolarge_url_SOURCES = \
-  test_toolarge.c ../microhttpd/test_helpers.h
+  test_toolarge.c mhd_has_in_name.h mhd_has_param.h
 
 test_toolarge_request_header_name_SOURCES = \
-  test_toolarge.c ../microhttpd/test_helpers.h
+  test_toolarge.c mhd_has_in_name.h mhd_has_param.h
 
 test_toolarge_request_header_value_SOURCES = \
-  test_toolarge.c ../microhttpd/test_helpers.h
+  test_toolarge.c mhd_has_in_name.h mhd_has_param.h
 
 test_toolarge_request_headers_SOURCES = \
-  test_toolarge.c ../microhttpd/test_helpers.h
+  test_toolarge.c mhd_has_in_name.h mhd_has_param.h
 
 test_toolarge_reply_header_name_SOURCES = \
-  test_toolarge.c ../microhttpd/test_helpers.h
+  test_toolarge.c mhd_has_in_name.h mhd_has_param.h
 
 test_toolarge_reply_header_value_SOURCES = \
-  test_toolarge.c ../microhttpd/test_helpers.h
+  test_toolarge.c mhd_has_in_name.h mhd_has_param.h
 
 test_toolarge_reply_headers_SOURCES = \
-  test_toolarge.c ../microhttpd/test_helpers.h
+  test_toolarge.c mhd_has_in_name.h mhd_has_param.h
 
 test_tricky_url_SOURCES = \
-  test_tricky.c ../microhttpd/test_helpers.h
+  test_tricky.c mhd_has_in_name.h mhd_has_param.h
 
 test_tricky_header2_SOURCES = \
-  test_tricky.c ../microhttpd/test_helpers.h
+  test_tricky.c mhd_has_in_name.h mhd_has_param.h
   
\ No newline at end of file
diff --git a/src/testcurl/test_add_conn.c b/src/testcurl/test_add_conn.c
index 8f3916ab..49e2c9a9 100644
--- a/src/testcurl/test_add_conn.c
+++ b/src/testcurl/test_add_conn.c
@@ -32,7 +32,8 @@
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
-#include "test_helpers.h"
+#include "mhd_has_in_name.h"
+#include "mhd_has_param.h"
 #include "mhd_sockets.h" /* only macros used */
 
 
diff --git a/src/testcurl/test_get.c b/src/testcurl/test_get.c
index 26b32b11..58febf7a 100644
--- a/src/testcurl/test_get.c
+++ b/src/testcurl/test_get.c
@@ -31,7 +31,8 @@
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
-#include "test_helpers.h"
+#include "mhd_has_in_name.h"
+#include "mhd_has_param.h"
 #include "mhd_sockets.h" /* only macros used */
 
 
diff --git a/src/testcurl/test_get_close_keep_alive.c 
b/src/testcurl/test_get_close_keep_alive.c
index db8a0284..53911f5b 100644
--- a/src/testcurl/test_get_close_keep_alive.c
+++ b/src/testcurl/test_get_close_keep_alive.c
@@ -34,7 +34,8 @@
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
-#include "test_helpers.h"
+#include "mhd_has_in_name.h"
+#include "mhd_has_param.h"
 #include "mhd_sockets.h" /* only macros used */
 
 #ifdef HAVE_STRINGS_H
diff --git a/src/testcurl/test_get_empty.c b/src/testcurl/test_get_empty.c
index e75e907c..5ed71ab9 100644
--- a/src/testcurl/test_get_empty.c
+++ b/src/testcurl/test_get_empty.c
@@ -31,7 +31,8 @@
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
-#include "test_helpers.h"
+#include "mhd_has_in_name.h"
+#include "mhd_has_param.h"
 #include "mhd_sockets.h" /* only macros used */
 
 
diff --git a/src/testcurl/test_large_put.c b/src/testcurl/test_large_put.c
index ff9b4eb3..9c26adbd 100644
--- a/src/testcurl/test_large_put.c
+++ b/src/testcurl/test_large_put.c
@@ -38,7 +38,8 @@
 #include <unistd.h>
 #endif
 
-#include "test_helpers.h"
+#include "mhd_has_in_name.h"
+#include "mhd_has_param.h"
 
 #if defined(MHD_CPU_COUNT) && (MHD_CPU_COUNT + 0) < 2
 #undef MHD_CPU_COUNT
diff --git a/src/testcurl/test_toolarge.c b/src/testcurl/test_toolarge.c
index 4f33da2a..7cbb1545 100644
--- a/src/testcurl/test_toolarge.c
+++ b/src/testcurl/test_toolarge.c
@@ -39,7 +39,8 @@
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
-#include "test_helpers.h"
+#include "mhd_has_in_name.h"
+#include "mhd_has_param.h"
 #include "mhd_sockets.h" /* only macros used */
 
 #ifdef HAVE_STRINGS_H
diff --git a/src/testcurl/test_tricky.c b/src/testcurl/test_tricky.c
index fb881fd6..b926884f 100644
--- a/src/testcurl/test_tricky.c
+++ b/src/testcurl/test_tricky.c
@@ -31,7 +31,8 @@
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
-#include "test_helpers.h"
+#include "mhd_has_in_name.h"
+#include "mhd_has_param.h"
 #include "mhd_sockets.h" /* only macros used */
 
 #ifdef HAVE_STRINGS_H

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]