[riot-commits] [RIOT-OS/RIOT] 137009: gnrc_sixlowpan_frag/rbuf: provide helper functions...

Alexandre Abadie alexandre.abadie at inria.fr
Fri Jan 25 17:55:32 CET 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 1370099435e67c2d50aa5d321c0e37cf9c886873
      https://github.com/RIOT-OS/RIOT/commit/1370099435e67c2d50aa5d321c0e37cf9c886873
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2019-01-23 (Wed, 23 Jan 2019)

  Changed paths:
    M sys/net/gnrc/network_layer/sixlowpan/frag/rbuf.c
    M sys/net/gnrc/network_layer/sixlowpan/frag/rbuf.h

  Log Message:
  -----------
  gnrc_sixlowpan_frag/rbuf: provide helper functions for testing


  Commit: 6ff06d3f416240266cb518c38c80d04beb3b1514
      https://github.com/RIOT-OS/RIOT/commit/6ff06d3f416240266cb518c38c80d04beb3b1514
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    A tests/gnrc_sixlowpan_frag/Makefile
    A tests/gnrc_sixlowpan_frag/main.c
    A tests/gnrc_sixlowpan_frag/tests/01-run.py

  Log Message:
  -----------
  tests: provide unittests for gnrc_sixlowpan_frag/rbuf

The reason I put these unittests into their own application is that I
intentionally wanted to test this module very isolated.


  Commit: 7d9ef9f78cc2b680224fd15a5e57f3778aa91c4e
      https://github.com/RIOT-OS/RIOT/commit/7d9ef9f78cc2b680224fd15a5e57f3778aa91c4e
  Author: Martine Lenders <m.lenders at fu-berlin.de>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M sys/net/gnrc/network_layer/sixlowpan/frag/rbuf.c

  Log Message:
  -----------
  gnrc_sixlowpan_frag/rbuf: add offset assertion to rbuf_add()

`gnrc_sixlowpan_frag` internally derives the offset value directly
from the fragment header, so for normal usage within GNRC this
assertion is redundant, but to make the tests of `rbuf_add` 100%
water-tide I added it.


  Commit: b8565e492dda703804c1b0f7619f6383334ff91b
      https://github.com/RIOT-OS/RIOT/commit/b8565e492dda703804c1b0f7619f6383334ff91b
  Author: Alexandre Abadie <alexandre.abadie at inria.fr>
  Date:   2019-01-25 (Fri, 25 Jan 2019)

  Changed paths:
    M sys/net/gnrc/network_layer/sixlowpan/frag/rbuf.c
    M sys/net/gnrc/network_layer/sixlowpan/frag/rbuf.h
    A tests/gnrc_sixlowpan_frag/Makefile
    A tests/gnrc_sixlowpan_frag/main.c
    A tests/gnrc_sixlowpan_frag/tests/01-run.py

  Log Message:
  -----------
  Merge pull request #10851 from miri64/tests/feat/gnrc_sixlowpan_frag-tests

tests: provide unittests for gnrc_sixlowpan_frag/rbuf


Compare: https://github.com/RIOT-OS/RIOT/compare/0941f7b23d51...b8565e492dda
      **NOTE:** GitHub Services has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      We will provide an alternative path for the email notifications by January 31st, 2019.


More information about the commits mailing list