]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
move "sort" call to TEST_BOOTSTRAP
authorAlan T. DeKok <aland@freeradius.org>
Wed, 9 Dec 2020 14:46:31 +0000 (09:46 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 9 Dec 2020 14:48:13 +0000 (09:48 -0500)
so we have deterministic builds everywhere

src/tests/all.mk
src/tests/keywords/all.mk
src/tests/modules/all.mk

index e47cb461f2d92936db90099ae846cb308cf206a5..74f05de8b0804c61ecfccae3f6bf1db2310f4818 100644 (file)
@@ -114,7 +114,7 @@ $$(OUTPUT.$(TEST)):
 #
 #  All of the output files depend on the input files
 #
-FILES.$(TEST) := $(addprefix $$(OUTPUT.$(TEST))/,$(FILES))
+FILES.$(TEST) := $(addprefix $$(OUTPUT.$(TEST))/,$(sort $(FILES)))
 
 #
 #  The output files also depend on the directory
index 1ca4c09bad8f393564958c29226c78a5506842f0..8b1b7e4658eaf1b398916b8937217bb53ca9a16d 100644 (file)
@@ -13,7 +13,7 @@ TEST := test.keywords
 #  The list is unordered.  The order is added in the next step by looking
 #  at precursors.
 #
-FILES := $(sort $(filter-out %.conf %.md %.attrs %.mk %~ %.rej,$(subst $(DIR)/,,$(wildcard $(DIR)/*))))
+FILES := $(filter-out %.conf %.md %.attrs %.mk %~ %.rej,$(subst $(DIR)/,,$(wildcard $(DIR)/*)))
 
 #
 #  Don't run SSHA tests if there's no SSL
index 0b90fd900aadb059578b2c4a3cf61176c66902ac..7b9bbea65c81356312ef4ccce6779181a17820cd 100644 (file)
@@ -8,7 +8,7 @@ TEST := test.modules
 #  The list is unordered.  The order is added in the next step by looking
 #  at precursors.
 #
-FILES := $(sort $(patsubst $(DIR)/%.unlang,%,$(call FIND_FILES_SUFFIX,$(DIR),*.unlang)))
+FILES := $(patsubst $(DIR)/%.unlang,%,$(call FIND_FILES_SUFFIX,$(DIR),*.unlang))
 
 #
 #  Remove things which are known to fail in CI.