[PATCH] avoid gpgtar.test when --disable-gpgtar is configured

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Feb 4 22:07:38 CET 2016


Gbp-Pq: Name 0004-avoid-gpgtar.test-when-disable-gpgtar-is-configured.patch
---
 tests/openpgp/Makefile.am | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/tests/openpgp/Makefile.am b/tests/openpgp/Makefile.am
index a04b62c..92b4097 100644
--- a/tests/openpgp/Makefile.am
+++ b/tests/openpgp/Makefile.am
@@ -31,6 +31,13 @@ else
 sqlite3_dependent_tests =
 endif
 
+if BUILD_GPGTAR
+gpgtar_tests = gpgtar.test
+else
+gpgtar_tests =
+endif
+
+
 # Note: version.test needs to be the first test to run and finish.test
 # the last one
 TESTS = version.test mds.test \
@@ -46,7 +53,7 @@ TESTS = version.test mds.test \
 	multisig.test verify.test armor.test \
 	import.test ecc.test 4gb-packet.test \
 	$(sqlite3_dependent_tests) \
-	gpgtar.test use-exact-key.test default-key.test \
+	$(gpgtar_tests) use-exact-key.test default-key.test \
 	finish.test
 
 
-- 
2.7.0




More information about the Gnupg-devel mailing list