mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
Merge pull request #5339 from cgundogan/pr/make/iotlab-testbed
dist: make: iotlab: specify exp id in iotlab-term
This commit is contained in:
commit
e3faafbd59
21
dist/testbed-support/Makefile.iotlab
vendored
21
dist/testbed-support/Makefile.iotlab
vendored
@ -71,21 +71,12 @@ iotlab-stop: $(IOTLAB_AUTH) iotlab-check-exp
|
||||
iotlab-term: iotlab-check-exp
|
||||
$(AD)ssh -t $(IOTLAB_AUTHORITY) "test -f ~/.iotlabrc || auth-cli -u $(IOTLAB_USER)"
|
||||
|
||||
ifndef NODES_PARAM
|
||||
$(AD)ssh -t $(IOTLAB_AUTHORITY)\
|
||||
"tmux attach -t riot-$(IOTLAB_EXP_ID) || tmux new -s riot-$(IOTLAB_EXP_ID)\
|
||||
'$(if $(IOTLAB_LOGGING),\
|
||||
script -fac "'"'"serial_aggregator -i $(IOTLAB_EXP_ID)"'"'"\
|
||||
RIOT_LOG-$(IOTLAB_EXP_NAME)-$(IOTLAB_EXP_ID),\
|
||||
serial_aggregator -i $(IOTLAB_EXP_ID))'"
|
||||
else
|
||||
$(AD)ssh -t $(IOTLAB_AUTHORITY)\
|
||||
"tmux attach -t riot-$(IOTLAB_EXP_ID) || tmux new -s riot-$(IOTLAB_EXP_ID)\
|
||||
'$(if $(IOTLAB_LOGGING),\
|
||||
script -fac "'"'"serial_aggregator $(NODES_PARAM_BASE)"'"'"\
|
||||
RIOT_LOG-$(IOTLAB_EXP_NAME)-$(IOTLAB_EXP_ID),\
|
||||
serial_aggregator $(NODES_PARAM_BASE))'"
|
||||
endif
|
||||
$(AD)ssh -t $(IOTLAB_AUTHORITY) \
|
||||
"tmux attach -t riot-$(IOTLAB_EXP_ID) || tmux new -s riot-$(IOTLAB_EXP_ID) \
|
||||
'$(if $(IOTLAB_LOGGING), \
|
||||
script -fac "'"'"serial_aggregator -i $(IOTLAB_EXP_ID) $(NODES_PARAM_BASE)"'"'" \
|
||||
RIOT_LOG-$(IOTLAB_EXP_NAME)-$(IOTLAB_EXP_ID), \
|
||||
serial_aggregator -i $(IOTLAB_EXP_ID) $(NODES_PARAM_BASE))'"
|
||||
|
||||
iotlab-check-exp:
|
||||
ifndef IOTLAB_SITE
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user