File quilt-enable-patch-wrapper-test.patch of Package quilt.4649

From: Jean Delvare <jdelvare@suse.de>
Date: Wed, 16 Apr 2014 11:44:55 +0200
Subject: Re-enable patch-wrapper test
Patch-mainline: yes
Git-commit: 293c4ddbf61f69a5cfb3a71f89cb3e48d3ccda7e
References: bnc#872719

The patch-wrapper test was unconditionally disabled by commit
97200435 ("Only run test/patch-wrapper.test if the
--with-patch-wrapper config option is used.") Re-enable this test
when the --with-patch-wrapper config option is actually used.

---
 Makefile.in |    3 +++
 1 file changed, 3 insertions(+)

--- a/Makefile.in
+++ b/Makefile.in
@@ -120,6 +120,9 @@ NON_EXEC_IN :=	doc/quilt.1 doc/README qu
 GIT_DESC :=	$(shell ./git-desc | sed -e 's:^v::')
 
 TESTS :=	$(filter-out test/patch-wrapper.test,$(wildcard test/*.test))
+ifneq ($(PATCH_WRAPPER),)
+TESTS +=	test/patch-wrapper.test
+endif
 DIRT +=		test/.depend $(wildcard test/.*.ok)
 
 # Settings for running the uninstalled version of quilt in the source tree:
openSUSE Build Service is sponsored by