[git] GPGME - branch, master, updated. gpgme-1.9.0-5-g7e9f775

by Justus Winter cvs at cvs.gnupg.org
Tue Mar 28 18:00:11 CEST 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  7e9f7752c992f957ccfde3b274865c633096e3bb (commit)
       via  a13e4abe9463579ef23d1acea39a093abfc6528d (commit)
      from  1b55e90d422983f303e1d243daeac15e6f916d20 (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 7e9f7752c992f957ccfde3b274865c633096e3bb
Author: Justus Winter <justus at g10code.com>
Date:   Tue Mar 28 16:32:09 2017 +0200

    tests: Run the threading tests only on UNIX.
    
    * tests/gpg/Makefile.am (tests_unix): Add 't-thread-keylist' and
    't-thread-keylist-verify'.
    (c_tests): Drop them here.
    --
    
    The tests use pthreads and we suspect problems with MinGW's wrappers.
    
    Signed-off-by: Justus Winter <justus at g10code.com>

diff --git a/tests/gpg/Makefile.am b/tests/gpg/Makefile.am
index 8e26a92..9b74ba6 100644
--- a/tests/gpg/Makefile.am
+++ b/tests/gpg/Makefile.am
@@ -31,15 +31,15 @@ noinst_HEADERS = t-support.h
 if HAVE_W32_SYSTEM
 tests_unix =
 else
-tests_unix = t-eventloop t-thread1
+tests_unix = t-eventloop t-thread1 t-thread-keylist t-thread-keylist-verify
 endif
 
 c_tests = \
         t-encrypt t-encrypt-sym t-encrypt-sign t-sign t-signers		\
 	t-decrypt t-verify t-decrypt-verify t-sig-notation t-export	\
 	t-import t-trustlist t-edit t-keylist t-keylist-sig t-wait	\
-	t-encrypt-large t-file-name t-gpgconf t-encrypt-mixed $(tests_unix) \
-	t-thread-keylist t-thread-keylist-verify
+	t-encrypt-large t-file-name t-gpgconf t-encrypt-mixed \
+	$(tests_unix)
 
 TESTS = initial.test $(c_tests) final.test
 

commit a13e4abe9463579ef23d1acea39a093abfc6528d
Author: Justus Winter <justus at g10code.com>
Date:   Tue Mar 28 16:30:03 2017 +0200

    tests: Make error message more helpful.
    
    * tests/gpg/t-keylist.c (main): Print number of returned and expected
    keys.
    
    Signed-off-by: Justus Winter <justus at g10code.com>

diff --git a/tests/gpg/t-keylist.c b/tests/gpg/t-keylist.c
index 6ee023c..8a32f9b 100644
--- a/tests/gpg/t-keylist.c
+++ b/tests/gpg/t-keylist.c
@@ -568,7 +568,8 @@ main (int argc, char **argv)
 
   if (keys[i].fpr)
     {
-      fprintf (stderr, "Less keys returned than expected\n");
+      fprintf (stderr, "Less keys (%d) returned than expected (%d)\n",
+	       i, DIM (keys) - 1);
       exit (1);
     }
 

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

Summary of changes:
 tests/gpg/Makefile.am | 6 +++---
 tests/gpg/t-keylist.c | 3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)


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




More information about the Gnupg-commits mailing list