aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python
diff options
context:
space:
mode:
authorBiswapriyo Nath <[email protected]>2023-05-28 17:45:48 +0000
committerWerner Koch <[email protected]>2023-05-30 09:44:17 +0000
commite2103be390764f62b21a4e5d4fa90a7b78326787 (patch)
tree7ca4d8447fbf92f57bee5e55f383984fed021d9a /lang/python
parentcore: For key signing and uid revoking allow an empty user id. (diff)
downloadgpgme-e2103be390764f62b21a4e5d4fa90a7b78326787.tar.gz
gpgme-e2103be390764f62b21a4e5d4fa90a7b78326787.zip
cpp,python: Respect --disable-gpg-test for tests
lang/cpp/Makefile.am (SUBDIRS): Depend tests in RUN_GPG_TESTS. lang/python/Makefile.am (SUBDIRS): Ditto. -- This is similar to the core and qt switch to disable the tests. Signed-off-by: Biswapriyo Nath <[email protected]> ChangeLog entries added by wk.
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am
index 845b7b17..68b98e8e 100644
--- a/lang/python/Makefile.am
+++ b/lang/python/Makefile.am
@@ -23,7 +23,13 @@ EXTRA_DIST = \
gpgme.i \
helpers.c helpers.h private.h
-SUBDIRS = . tests examples doc src
+if RUN_GPG_TESTS
+tests = tests
+else
+tests =
+endif
+
+SUBDIRS = . ${tests} examples doc src
.PHONY: prepare
prepare: copystamp