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
|
||||||
endif
|
endif
|
||||||
test: ssh ?= ssh
|
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
|
test: populate
|
||||||
$(ssh) $(target_user)@$(target_host) -p $(target_port) \
|
$(wrapper) \
|
||||||
$(command) --show-trace -I $(target_path) \
|
$(command) --show-trace -I $(target_path) \
|
||||||
-A config.system.build.toplevel $(target_path)/stockholm
|
-A config.system.build.toplevel $(target_path)/stockholm
|
||||||
|
|
Loading…
Reference in a new issue