[git] GPGME - branch, master, updated. gpgme-1.8.0-40-g7bd6ab4

by Andre Heinecke cvs at cvs.gnupg.org
Mon Jan 30 14:23:26 CET 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".

The branch, master has been updated
       via  7bd6ab4a91d43d7cbf5d347c0c12e0e4f9f7e3bf (commit)
      from  f3ca2c9ce9fd4a03e293065f10b92589a7e642d6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7bd6ab4a91d43d7cbf5d347c0c12e0e4f9f7e3bf
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Mon Jan 30 14:19:52 2017 +0100

    tests: Reduce iterations / threads
    
    * tests/gpg/t-gpgconf.c (main): Reduce iterations to 10.
    * tests/gpg/t-thread-keylist-verify.c,
    tests/gpg/t-thread-keylist.c (THREAD_COUNT): Reduce to 10.
    
    --
    While these tests tested for race conditions a smaller number
    of iteration should still show problems if they are run on
    multiple systems and regulary. While the 100 Thread count in
    the t-thread tests could lead to resource problems.

diff --git a/tests/gpg/t-gpgconf.c b/tests/gpg/t-gpgconf.c
index 52f0f8b..67bb886 100644
--- a/tests/gpg/t-gpgconf.c
+++ b/tests/gpg/t-gpgconf.c
@@ -256,7 +256,7 @@ main (void)
   gpgme_conf_comp_t conf;
   gpgme_conf_comp_t comp;
   int first;
-  int i, N = 100;
+  int i, N = 10;
 
   init_gpgme (GPGME_PROTOCOL_GPGCONF);
 
diff --git a/tests/gpg/t-thread-keylist-verify.c b/tests/gpg/t-thread-keylist-verify.c
index 6f747a6..b327a1f 100644
--- a/tests/gpg/t-thread-keylist-verify.c
+++ b/tests/gpg/t-thread-keylist-verify.c
@@ -32,7 +32,7 @@
 
 #include "t-support.h"
 
-#define THREAD_COUNT 100
+#define THREAD_COUNT 10
 
 static const char test_text1[] = "Just GNU it!\n";
 static const char test_sig1[] =
diff --git a/tests/gpg/t-thread-keylist.c b/tests/gpg/t-thread-keylist.c
index c03f1ca..b9feeda 100644
--- a/tests/gpg/t-thread-keylist.c
+++ b/tests/gpg/t-thread-keylist.c
@@ -32,7 +32,7 @@
 
 #include "t-support.h"
 
-#define THREAD_COUNT 100
+#define THREAD_COUNT 10
 
 void *
 start_keylist (void *arg)

-----------------------------------------------------------------------

Summary of changes:
 tests/gpg/t-gpgconf.c               | 2 +-
 tests/gpg/t-thread-keylist-verify.c | 2 +-
 tests/gpg/t-thread-keylist.c        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GnuPG Made Easy
http://git.gnupg.org




More information about the Gnupg-commits mailing list