make test: don't ssh if possible
This commit is contained in:
parent
71a25b1875
commit
048986e09b
7
Makefile
7
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user