[riot-commits] [RIOT-OS/RIOT] fda6ef: dist/tools/uncrustify/uncrustify.sh: fix uncrustif...

José Alamos noreply at github.com
Wed Apr 29 11:01:31 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: fda6ef6ac6c150dd16aa95f84dacc7f4e12f5852
      https://github.com/RIOT-OS/RIOT/commit/fda6ef6ac6c150dd16aa95f84dacc7f4e12f5852
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2020-04-29 (Wed, 29 Apr 2020)

  Changed paths:
    M dist/tools/uncrustify/uncrustify.sh

  Log Message:
  -----------
  dist/tools/uncrustify/uncrustify.sh: fix uncrustify check logic

Previously, uncrustify.sh would fail (report uncrustifying necessary) if
there was any output of uncrustify. Turns out uncrustify sometimes
outputs something.

This commit changes the logic to use uncrustify's output value as
indicator.

Also, adds printing which file causes the check to fail.


  Commit: 373a335ec80989bb10362e1ab43f47481ed08b5f
      https://github.com/RIOT-OS/RIOT/commit/373a335ec80989bb10362e1ab43f47481ed08b5f
  Author: José Alamos <jialamos at uc.cl>
  Date:   2020-04-29 (Wed, 29 Apr 2020)

  Changed paths:
    M dist/tools/uncrustify/uncrustify.sh

  Log Message:
  -----------
  Merge pull request #13974 from kaspar030/fix_uncrustify_logic

dist/tools/uncrustify/uncrustify.sh: fix uncrustify check logic


Compare: https://github.com/RIOT-OS/RIOT/compare/d822a9140377...373a335ec809


More information about the commits mailing list