quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Quilt-dev] [PATCH 2/2] Clean up TESTS definition


From: Jean Delvare
Subject: [Quilt-dev] [PATCH 2/2] Clean up TESTS definition
Date: Thu, 22 Jan 2015 13:36:44 +0100

Don't filter out test/patch-wrapper.test if we are going to add it
back. Do it the other way around, that is include it by default and
only filter it out if needed.
---
 Makefile.in |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/Makefile.in
+++ b/Makefile.in
@@ -120,9 +120,9 @@ NON_EXEC_IN :=      doc/quilt.1 doc/README qu
 GIT_DESC :=    $(shell ./git-desc | sed -e 's:^v::')
 
 # Tests are sorted to make it easier to compare the results between runs
-TESTS :=       $(filter-out test/patch-wrapper.test,$(sort $(wildcard 
test/*.test)))
-ifneq ($(PATCH_WRAPPER),)
-TESTS +=       test/patch-wrapper.test
+TESTS :=       $(sort $(wildcard test/*.test))
+ifeq ($(PATCH_WRAPPER),)
+TESTS :=       $(filter-out test/patch-wrapper.test,$(TESTS))
 endif
 DIRT +=                test/.depend $(wildcard test/.*.ok)
 


-- 
Jean Delvare
SUSE L3 Support




reply via email to

[Prev in Thread] Current Thread [Next in Thread]