[riot-notifications] [RIOT-OS/RIOT] sys/test_helper: Add test_helper module (#11224)

MrKevinWeiss notifications at github.com
Wed Mar 20 16:37:26 CET 2019


### Contribution description

This PR adds a test_helper module adds a collection of helpers used for shell based tests.  Specifically it adds basic, lightweight json formatting, print_echo and collects module dependencies.  This should make it easier to stick to a standard way of writing and reduce code duplication.

### Testing procedure

`make all -C tests/shell/ test`

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

  https://github.com/RIOT-OS/RIOT/pull/11224

-- Commit Summary --

  * sys/test_helper: Add test_helper module
  * tests/shell: Use test_helper in shell test

-- File Changes --

    M sys/Makefile.dep (7)
    M sys/shell/commands/Makefile (3)
    A sys/shell/commands/sc_print_echo.c (28)
    M sys/shell/commands/shell_commands.c (7)
    M tests/shell/Makefile (4)
    M tests/shell/main.c (16)
    M tests/shell/tests/01-run.py (6)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11224.patch
https://github.com/RIOT-OS/RIOT/pull/11224.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11224
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190320/4d7aeb26/attachment-0001.html>


More information about the notifications mailing list