gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 06/10: testzzuf: test thoroughly if heavy tests are enab


From: gnunet
Subject: [libmicrohttpd] 06/10: testzzuf: test thoroughly if heavy tests are enabled
Date: Thu, 01 Apr 2021 20:39:02 +0200

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 9826b05efe1a67f70319a2997c2f47f06554b045
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Apr 1 20:48:25 2021 +0300

    testzzuf: test thoroughly if heavy tests are enabled
---
 src/testzzuf/Makefile.am | 4 ++++
 src/testzzuf/socat.c     | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/src/testzzuf/Makefile.am b/src/testzzuf/Makefile.am
index c657f34e..b26d0c84 100644
--- a/src/testzzuf/Makefile.am
+++ b/src/testzzuf/Makefile.am
@@ -8,6 +8,10 @@ endif
 
 AM_CPPFLAGS = -I$(top_srcdir)/src/include \
   $(LIBCURL_CPPFLAGS)
+  
+if HEAVY_TESTS
+AM_CPPFLAGS += -D_MHD_HEAVY_TESTS=1
+endif  
 
 EXTRA_DIST = README socat.c
 
diff --git a/src/testzzuf/socat.c b/src/testzzuf/socat.c
index 29b086bb..85423aad 100644
--- a/src/testzzuf/socat.c
+++ b/src/testzzuf/socat.c
@@ -43,7 +43,11 @@
  * long for most user's patience.  So this small
  * value is the default.
  */
+#ifndef _MHD_HEAVY_TESTS
 #define LOOP_COUNT 10
+#else  /* ! _MHD_HEAVY_TESTS */
+#define LOOP_COUNT 200
+#endif /* ! _MHD_HEAVY_TESTS */
 
 #define CURL_TIMEOUT 50L
 

-- 
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]