quilt-dev
[Top][All Lists]
Advanced

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

[Quilt-dev] [PATCH 1/2] Sort the tests


From: Jean Delvare
Subject: [Quilt-dev] [PATCH 1/2] Sort the tests
Date: Thu, 22 Jan 2015 13:32:03 +0100

Run the tests in predictable order. This allows comparing the output
of "make check" between builds. With older versions of GNU make, the
list was already sorted, but this is no longer the case.

Suggested by Rich Burridge.
---
 Makefile.in |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- quilt.orig/Makefile.in      2015-01-15 14:13:40.096298382 +0100
+++ quilt/Makefile.in   2015-01-16 12:48:54.287917872 +0100
@@ -119,7 +119,8 @@ 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))
+# 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
 endif

-- 
Jean Delvare
SUSE L3 Support




reply via email to

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