[riot-commits] [RIOT-OS/RIOT] 0aae70: tests/pthread_rwlock: lock around prints

Juan I Carrano noreply at github.com
Wed Aug 21 17:15:55 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 0aae704fd466b6d8fe0817db430151f157023b86
      https://github.com/RIOT-OS/RIOT/commit/0aae704fd466b6d8fe0817db430151f157023b86
  Author: Gaëtan Harter <gaetan.harter at fu-berlin.de>
  Date:   2019-08-21 (Wed, 21 Aug 2019)

  Changed paths:
    M tests/pthread_rwlock/main.c

  Log Message:
  -----------
  tests/pthread_rwlock: lock around prints

The test assumes that 'printf/puts' are non interruptible operations.
Use a mutex to guarantee it.

Without this, the automated test was failing in some configurations with
lines being cut by others.


  Commit: 9cd08d4999ebdb8f9dc45953040eef989fda6946
      https://github.com/RIOT-OS/RIOT/commit/9cd08d4999ebdb8f9dc45953040eef989fda6946
  Author: Gaëtan Harter <gaetan.harter at fu-berlin.de>
  Date:   2019-08-21 (Wed, 21 Aug 2019)

  Changed paths:
    M tests/pthread_rwlock/Makefile

  Log Message:
  -----------
  tests/pthread_rwlock: run the test in CI

HACK, the test currently fails in CI for `native` due to `utf-8` handling.


  Commit: e7957e6d9b62b5baa71e6b974b68678b059bd251
      https://github.com/RIOT-OS/RIOT/commit/e7957e6d9b62b5baa71e6b974b68678b059bd251
  Author: Juan I Carrano <j.carrano at fu-berlin.de>
  Date:   2019-08-21 (Wed, 21 Aug 2019)

  Changed paths:
    M tests/pthread_rwlock/Makefile
    M tests/pthread_rwlock/main.c

  Log Message:
  -----------
  Merge pull request #11688 from cladmi/pr/tests/pthread_rwlock/enable_in_ci

tests/pthread_rwlock: run the test in CI


Compare: https://github.com/RIOT-OS/RIOT/compare/507444ee4481...e7957e6d9b62


More information about the commits mailing list