summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2018-12-05 20:17:43 +0300
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2019-05-02 22:23:28 -0400
commit30bd1c097544376f257d426d5feb4706fb5d3afd (patch)
tree476d58475a4b17265b78d5f0ab5b6e3f88e48ec7
parent4746c5c9e2dd9a3ee471a429c19bc1f7fd1d07db (diff)
downloadgpgme-30bd1c097544376f257d426d5feb4706fb5d3afd.tar.gz
python: make it easier to run a limited number of tests
* lang/python/tests/Makefile.am: prefer py_tests from the environment if present. -- I'm trying to make it nicer/quicker to hack on the testsuite for python bindings. With this change, if you're improving the python bindings test suite, you can selectively run only a few specific tests like so: lang/python$ make check py_tests='t-decrypt.py t-decrypt-verify.py' Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
-rw-r--r--lang/python/tests/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/tests/Makefile.am b/lang/python/tests/Makefile.am
index d5b6e001..2c2324e8 100644
--- a/lang/python/tests/Makefile.am
+++ b/lang/python/tests/Makefile.am
@@ -28,7 +28,7 @@ TESTS_ENVIRONMENT = GNUPGHOME=$(GNUPGHOME) \
srcdir=$(srcdir) \
LD_LIBRARY_PATH="../../../src/.libs:$(LD_LIBRARY_PATH)"
-py_tests = t-wrapper.py \
+py_tests ?= t-wrapper.py \
t-callbacks.py \
t-data.py \
t-encrypt.py \