diff options
author | tv <tv@krebsco.de> | 2016-08-04 21:36:44 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-08-04 21:36:44 +0200 |
commit | 048986e09bfe9195ccd434c4c143d374db5488d2 (patch) | |
tree | ace38288ad1d9bfd704998cf455dfb15516430cb | |
parent | 71a25b18755ea229be17ca01003a68471ff72760 (diff) |
make test: don't ssh if possible
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -130,7 +130,12 @@ $(error bad method: $(method)) endif endif test: ssh ?= ssh +ifeq ($(target_user)@$(target_host),$(LOGNAME)@$(HOSTNAME)) +test: wrapper = exec +else +test: wrapper = $(ssh) $(target_user)@$(target_host) -p $(target_port) +endif test: populate - $(ssh) $(target_user)@$(target_host) -p $(target_port) \ + $(wrapper) \ $(command) --show-trace -I $(target_path) \ -A config.system.build.toplevel $(target_path)/stockholm |