[riot-commits] [RIOT-OS/RIOT] 5d7ba5: Added a colored outputter to embUnit.

Martine Lenders authmillenon at gmail.com
Mon Aug 17 22:06:52 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 5d7ba5b35f98b720fd92b2fd70cba770cc97a568
      https://github.com/RIOT-OS/RIOT/commit/5d7ba5b35f98b720fd92b2fd70cba770cc97a568
  Author: Janos Kutscherauer <noshky at gmail.com>
  Date:   2015-08-17 (Mon, 17 Aug 2015)

  Changed paths:
    M sys/Makefile.include
    A sys/embunit/ColorOutputter.c
    A sys/embunit/ColorTextColors.h
    A sys/embunit/ColorTextOutputter.c
    M sys/include/embUnit.h
    A sys/include/embUnit/ColorOutputter.h
    A sys/include/embUnit/ColorTextOutputter.h
    M tests/unittests/README.md

  Log Message:
  -----------
  Added a colored outputter to embUnit.

The outputter is called ColorTextOutputter and can be enabled by defining OUTPUT=COLORTEXT.
The colored outputter behaves just like the TextOutputter, but displays successful tests in GREEN and failed tests in RED. The summary message is also in GREEN/RED, but is slightly different from the TextOutputter.

Also:
* Added fancy simple none-verbose color-outputter for EmbUnit. The outputter outputs a simple statistics line in GREEN or RED, according to the test success or failure. (Also, the ColorTextOutputter was adjusted to use the statistics output of this new ColorOutputter.) The new outputter can be activated with OUTPUT=COLOR.
* Added a single character "." output for the simple color outputter and replaced the color codes by macros.


  Commit: feb8b8cc0f308ee9e801ed7fb7f8a09dd650679e
      https://github.com/RIOT-OS/RIOT/commit/feb8b8cc0f308ee9e801ed7fb7f8a09dd650679e
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2015-08-17 (Mon, 17 Aug 2015)

  Changed paths:
    M sys/Makefile.include
    A sys/embunit/ColorOutputter.c
    A sys/embunit/ColorTextColors.h
    A sys/embunit/ColorTextOutputter.c
    M sys/include/embUnit.h
    A sys/include/embUnit/ColorOutputter.h
    A sys/include/embUnit/ColorTextOutputter.h
    M tests/unittests/README.md

  Log Message:
  -----------
  Merge pull request #3639 from OlegHahm/unittest-color-output

Added a colored outputter to embUnit.


Compare: https://github.com/RIOT-OS/RIOT/compare/3922b6c8523a...feb8b8cc0f30


More information about the commits mailing list