[riot-notifications] [RIOT-OS/RIOT] examples/suit_update: use interactive sync in test (#15395)

Francisco notifications at github.com
Fri Nov 6 17:32:46 CET 2020

### Contribution description

If the device under test opens in terminal to slow the application will already have printed riotboot hdr info. This adapts the test to use `tests_utils_interactive_sync` and recover the same information via shell commands.

### Testing procedure

- `examples/suit_update` still passes.

Image Version: 0x5fa57970
Image start address: 0x00201400
Header chksum: 0x8a4c8ad7

suit_coap: started.
Starting the shell
> ifconfig
Running from slot 0
> ifconfig
Iface  4  HWaddr: AE:8B:6E:51:70:9C
          L2-PDU:1500  MTU:1500  HL:64  RTR
          Source address length: 6
          Link type: wired
          inet6 addr: fe80::ac8b:6eff:fe51:709c  scope: link  VAL
pinging node...
PING fe80::ac8b:6eff:fe51:709c%riot0(fe80::ac8b:6eff:fe51:709c%riot0) 56 data bytes

--- fe80::ac8b:6eff:fe51:709c%riot0 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 61.526/61.526/61.526/0.000 ms
pinging node succeeded.

### Issues/PRs references

Adapted to test suit on `cc2538` with `cc2538.bsl` script

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * examples/suit_update: use interactive sync in test

-- File Changes --

    M examples/suit_update/Makefile (3)
    M examples/suit_update/main.c (42)
    M examples/suit_update/tests/01-run.py (24)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201106/97d4375f/attachment.htm>

More information about the notifications mailing list