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 | 57012b75159ea75a281f76d52d432d6694eade36 (patch) | |
tree | 692273dc27bcfa481675145e06620a38df4dd11b | |
parent | e2af338d6cf0da76f1f2d06bab60b76bb2b5c063 (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 |