[riot-commits] [RIOT-OS/RIOT] dfd349: dist/tools/jlink: send output to /dev/null

Francisco Acosta fco.ja.ac at gmail.com
Thu Oct 4 17:32:00 CEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: dfd349a05b0fb5ae3a0c8f65c25cafa6dc333d6c
      https://github.com/RIOT-OS/RIOT/commit/dfd349a05b0fb5ae3a0c8f65c25cafa6dc333d6c
  Author: Francisco Acosta <fco.ja.ac at gmail.com>
  Date:   2018-09-11 (Tue, 11 Sep 2018)

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

  Log Message:
  -----------
  dist/tools/jlink: send output to /dev/null

While running `make term` JLinkExe is expecting commands and thus
can be disturbed by other JLink commands, e.g. `make reset`.
This enable `make test` (which runs those two commands at the same
time) on target using JLinkExe as a programmer/debugger.


  Commit: ad87b2875e7ab428c74416e5bc2c963d74356849
      https://github.com/RIOT-OS/RIOT/commit/ad87b2875e7ab428c74416e5bc2c963d74356849
  Author: Francisco Acosta <fco.ja.ac at gmail.com>
  Date:   2018-09-11 (Tue, 11 Sep 2018)

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

  Log Message:
  -----------
  dist/tools/jlink: remove setsid for launching JLinkExe for term

When executing `make test` on devices using JLink, testrunner
launches `make term` which calls `jlink.sh term_rtt`. When finished
the father process is killed but `setsid` has launched JLinkExe
as another subprocess, which is not killed by `os.killpg` from
testrunner since it doesn't belong to the same group.


  Commit: cb8e78da13a04879404022bc27ba64a284778d16
      https://github.com/RIOT-OS/RIOT/commit/cb8e78da13a04879404022bc27ba64a284778d16
  Author: Francisco Acosta <fco.ja.ac at gmail.com>
  Date:   2018-10-04 (Thu, 04 Oct 2018)

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

  Log Message:
  -----------
  Merge pull request #9916 from kYc0o/pr/tools/fix_kill_testrunner

dist/tools/jlink.sh: fix testrunner on stdio_rtt based devices


Compare: https://github.com/RIOT-OS/RIOT/compare/ed24d3622a60...cb8e78da13a0
      **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