]> arthur.barton.de Git - bup.git/commitdiff
Add BUP_TEST_RANDOM_SEED
authorRob Browning <rlb@defaultvalue.org>
Sun, 1 May 2022 19:06:53 +0000 (14:06 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 9 Jul 2022 18:36:38 +0000 (13:36 -0500)
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
GNUmakefile

index 49d0c78d6f671b8ccdd3028e7649f6dbe6fdfdf9..812ea38851c79eb344d14b86c525b35d4db67437 100644 (file)
@@ -4,6 +4,9 @@ MAKEFLAGS += --warn-undefined-variables
 SHELL := bash
 .DEFAULT_GOAL := all
 
+# So where possible we can make tests more reproducible
+export BUP_TEST_RANDOM_SEED ?= $(shell echo "$$RANDOM")
+
 # Guard against accidentally using/testing a local bup
 export PATH := $(CURDIR)/dev/shadow-bin:$(PATH)