From bdcfcdb811540d61c669c39d2f3233aa15783330 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 3 Dec 2016 13:35:28 +0000 Subject: Clean up test protocol stuff for ssh vs http --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4e450c1..2558cc6 100644 --- a/Makefile +++ b/Makefile @@ -186,7 +186,11 @@ ifneq ($(YARN_SNAPSHOT),) YARN_ARGS += --snapshot endif -TEST_PROTO ?= SSH +TEST_PROTO ?= ssh + +ifeq ($(filter $(TEST_PROTO),ssh http),) +$(error TEST_PROTO should be ssh or http) +endif basictest: local $(TEST_BINS) $(YARN) \ -- cgit v1.2.1