[git] GPGME - branch, master, updated. gpgme-1.9.0-68-g57c1259

by Alon Bar-Lev cvs at cvs.gnupg.org
Mon Aug 21 11:15:36 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  57c12593082e4ad302041269f1c35f2fe7d2fb1a (commit)
       via  70c8be9efe8de40bec0f0673589f3c9be7136674 (commit)
      from  b9b08e46934eea9083afb2eaf4bffa23d6c27801 (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 57c12593082e4ad302041269f1c35f2fe7d2fb1a
Author: Alon Bar-Lev <alon.barlev at gmail.com>
Date:   Thu Aug 3 21:41:35 2017 +0300

    python: Support parallel build in tests
    
    * lang/python/tests/Makefile.am: Depend xcheck with all which was lost
    due to the check hack.
    
    Signed-off-by: Alon Bar-Lev <alon.barlev at gmail.com>

diff --git a/lang/python/tests/Makefile.am b/lang/python/tests/Makefile.am
index d0dde1d..beb5a30 100644
--- a/lang/python/tests/Makefile.am
+++ b/lang/python/tests/Makefile.am
@@ -71,7 +71,7 @@ check: xcheck
 
 .PHONY: xcheck
 
-xcheck:
+xcheck:	all
 	$(TESTS_ENVIRONMENT) $(PYTHON) $(srcdir)/run-tests.py \
 	  --interpreters="$(PYTHONS)" --srcdir=$(srcdir) $(TESTFLAGS) \
 	  $(XTESTS)

commit 70c8be9efe8de40bec0f0673589f3c9be7136674
Author: Justus Winter <justus at g10code.com>
Date:   Mon Aug 21 10:54:10 2017 +0200

    python: Improve keylist test.
    
    * lang/python/tests/t-keylist.py: Check a keylist matching no keys.
    
    Signed-off-by: Justus Winter <justus at g10code.com>

diff --git a/lang/python/tests/t-keylist.py b/lang/python/tests/t-keylist.py
index 76c793e..4505d3c 100755
--- a/lang/python/tests/t-keylist.py
+++ b/lang/python/tests/t-keylist.py
@@ -229,6 +229,9 @@ alpha_keys = list(c.op_keylist_all(b"Alpha"))
 assert len(alpha_keys) == 1, "Expected only one key for 'Alpha', got %r" % len(alpha_keys)
 
 
+# Check negative result.
+assert len(list(c.keylist("no such key in sight"))) == 0
+
 
 for i, key in enumerate(c.keylist()):
     try:

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

Summary of changes:
 lang/python/tests/Makefile.am  | 2 +-
 lang/python/tests/t-keylist.py | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)


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




More information about the Gnupg-commits mailing list