[riot-commits] [RIOT-OS/RIOT] 921afa: testrunner: fix script when RIOTBASE is not define...

Alexandre Abadie alexandre.abadie at inria.fr
Mon Jan 21 15:32:43 CET 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 921afa0820ec8d6805ae8f141d4d96c57cde4cc4
      https://github.com/RIOT-OS/RIOT/commit/921afa0820ec8d6805ae8f141d4d96c57cde4cc4
  Author: cladmi <gaetan.harter at fu-berlin.de>
  Date:   2019-01-21 (Mon, 21 Jan 2019)

  Changed paths:
    M dist/pythonlibs/testrunner/__init__.py

  Log Message:
  -----------
  testrunner: fix script when RIOTBASE is not defined

If not defined it was raising a KeyError. Use the 'get' function to
handle non defined value.

It did not put the value in the `default` case as it would have changed
the behavior when `RIOTBASE` is defined but empty.


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

  Changed paths:
    M dist/pythonlibs/testrunner/__init__.py

  Log Message:
  -----------
  Merge pull request #10830 from cladmi/pr/testrunner/fixup

testrunner: fix script when RIOTBASE is not defined


Compare: https://github.com/RIOT-OS/RIOT/compare/fc1baddef866...cb7814e61e90
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the commits mailing list