X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=GNUmakefile;h=49d0c78d6f671b8ccdd3028e7649f6dbe6fdfdf9;hb=880ab9e31e0b86e34b0816e459f7390f3c545da3;hp=48725d2f5413659dad5d374f1ac6d0f558697d41;hpb=571e384c8e0e0e434fc6b8c1db1ede2c419094ab;p=bup.git diff --git a/GNUmakefile b/GNUmakefile index 48725d2..49d0c78 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -4,6 +4,9 @@ MAKEFLAGS += --warn-undefined-variables SHELL := bash .DEFAULT_GOAL := all +# Guard against accidentally using/testing a local bup +export PATH := $(CURDIR)/dev/shadow-bin:$(PATH) + clean_paths := generated_dependencies := @@ -208,6 +211,7 @@ lint: dev/bup-exec dev/bup-python ./pylint test: all test/tmp dev/python lint + ! bup version # Ensure we can't test the local bup (cf. dev/shadow-bin) ./bup features if test yes = "$$(dev/python -c 'import xdist; print("yes")' 2>/dev/null)"; then \ (set -x; ./pytest $(xdist_opt);) \