mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
dist/testbed-support: Wait for flash to be done when provided with term
Compare https://github.com/RIOT-OS/RIOT/pull/12468
This commit is contained in:
parent
2fec1f7adc
commit
59ecc48eb6
5
dist/testbed-support/Makefile.iotlab
vendored
5
dist/testbed-support/Makefile.iotlab
vendored
@ -77,7 +77,10 @@ iotlab-debug-server: $(IOTLAB_AUTH)
|
||||
iotlab-stop: $(IOTLAB_AUTH)
|
||||
$(Q)iotlab-experiment stop -i $(IOTLAB_EXP_ID)
|
||||
|
||||
iotlab-term:
|
||||
# wait for flash if it is provided e.g. with `make iotlab-flash iotlab-term`
|
||||
IOTLABTERMFLASHDEPS ?= $(filter iotlab-flash iotlab-exp,$(MAKECMDGOALS))
|
||||
|
||||
iotlab-term: $(IOTLABTERMFLASHDEPS)
|
||||
$(Q)ssh -t $(IOTLAB_AUTHORITY) "iotlab-experiment get -r -i $(IOTLAB_EXP_ID) > /dev/null || \
|
||||
iotlab-auth -u $(IOTLAB_USER)"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user