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

Martine Lenders authmillenon at gmail.com
Tue Oct 24 13:56:51 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 14235b57ec260275cab9fef195bc4ff6b2cfd175
      https://github.com/RIOT-OS/RIOT/commit/14235b57ec260275cab9fef195bc4ff6b2cfd175
  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: fe9c604391f29f3a819ee0d9f3fbe418d22c8247
      https://github.com/RIOT-OS/RIOT/commit/fe9c604391f29f3a819ee0d9f3fbe418d22c8247
  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: ffcdb61211b6f9b142ff09928d8c2e546c41f576
      https://github.com/RIOT-OS/RIOT/commit/ffcdb61211b6f9b142ff09928d8c2e546c41f576
  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: 712550987df548e48ff6e786e51f1e46c8edc23a
      https://github.com/RIOT-OS/RIOT/commit/712550987df548e48ff6e786e51f1e46c8edc23a
  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: e6e4072335ac822fc64efeb6f92d5f4c074286fe
      https://github.com/RIOT-OS/RIOT/commit/e6e4072335ac822fc64efeb6f92d5f4c074286fe
  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: 69c05fe2dcd987d53768e30a36c5129a22e4059c
      https://github.com/RIOT-OS/RIOT/commit/69c05fe2dcd987d53768e30a36c5129a22e4059c
  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 #7782 from cladmi/pr/tests/posix_semaphore

tests/posix semaphore: fix test4


Compare: https://github.com/RIOT-OS/RIOT/compare/5385450b0c7a...69c05fe2dcd9


More information about the commits mailing list