[riot-commits] [RIOT-OS/RIOT] 91612a: tests/posix_semaphore: test4: change msg when wait...

Martine Lenders authmillenon at gmail.com
Tue Oct 24 14:09:03 CEST 2017


  Branch: refs/heads/2017.10-branch
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 91612a90a8e15bdc68d64553dbf7444488ddb4c0
      https://github.com/RIOT-OS/RIOT/commit/91612a90a8e15bdc68d64553dbf7444488ddb4c0
  Author: Gaëtan Harter <gaetan.harter at fu-berlin.de>
  Date:   2017-10-24 (Tue, 24 Oct 2017)

  Changed paths:
    M tests/posix_semaphore/main.c

  Log Message:
  -----------
  tests/posix_semaphore: test4: change msg when waited more than expected


  Commit: 63a0870ca2bb53d2e36cde7ef0c5322719b1e054
      https://github.com/RIOT-OS/RIOT/commit/63a0870ca2bb53d2e36cde7ef0c5322719b1e054
  Author: Gaëtan Harter <gaetan.harter at fu-berlin.de>
  Date:   2017-10-24 (Tue, 24 Oct 2017)

  Changed paths:
    M tests/posix_semaphore/main.c

  Log Message:
  -----------
  tests/posix_semaphore: test4: only one call to fmt_u64_dec


  Commit: 95ff84a4caafeac1b0c825dec8be310c18caf5bc
      https://github.com/RIOT-OS/RIOT/commit/95ff84a4caafeac1b0c825dec8be310c18caf5bc
  Author: Gaëtan Harter <gaetan.harter at fu-berlin.de>
  Date:   2017-10-24 (Tue, 24 Oct 2017)

  Changed paths:
    M tests/posix_semaphore/main.c

  Log Message:
  -----------
  tests/posix_semaphore: test4: BUG add '\0' after fmt_u64_dec

fmt_u64_dec does not include the terminating null string character.


  Commit: cf7fd523190b2cb655ce9accfa1b10dd6d01bf35
      https://github.com/RIOT-OS/RIOT/commit/cf7fd523190b2cb655ce9accfa1b10dd6d01bf35
  Author: Gaëtan Harter <gaetan.harter at fu-berlin.de>
  Date:   2017-10-24 (Tue, 24 Oct 2017)

  Changed paths:
    M tests/posix_semaphore/main.c

  Log Message:
  -----------
  tests/posix_semaphore: test4: fix timestamp comparison

Only use a 'start' and a 'elapsed' timestamp to compare diff.
And remove the puts from within the measured time.


  Commit: c751be8d401afaf4c52d425e354433645245aa1e
      https://github.com/RIOT-OS/RIOT/commit/c751be8d401afaf4c52d425e354433645245aa1e
  Author: Gaëtan Harter <gaetan.harter at fu-berlin.de>
  Date:   2017-10-24 (Tue, 24 Oct 2017)

  Changed paths:
    M tests/posix_semaphore/main.c

  Log Message:
  -----------
  tests/posix_semaphore: test4: allow native to take more time

As not real time, native does often not weak up before 100ms.
I observed mostly between 0 and 200 but also got a 250, so I allow 300 more.


  Commit: a8dd144e88995252ae798a358a989e21506a73e5
      https://github.com/RIOT-OS/RIOT/commit/a8dd144e88995252ae798a358a989e21506a73e5
  Author: Martine Lenders <authmillenon at gmail.com>
  Date:   2017-10-24 (Tue, 24 Oct 2017)

  Changed paths:
    M tests/posix_semaphore/main.c

  Log Message:
  -----------
  Merge pull request #7808 from cladmi/bp/pr/tests/posix_semaphore

tests/posix semaphore: fix test4 [2017.10 backport]


Compare: https://github.com/RIOT-OS/RIOT/compare/dbecfabf6b2f...a8dd144e8899


More information about the commits mailing list