[riot-commits] [RIOT-OS/RIOT] 6e7fa9: tests/posix_semaphore: private sub functions for t...

Alexandre Abadie alexandre.abadie at inria.fr
Mon Jan 21 18:02:39 CET 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 6e7fa9e9e0be98b04f0d99bfc6b246aaad754d0d
      https://github.com/RIOT-OS/RIOT/commit/6e7fa9e9e0be98b04f0d99bfc6b246aaad754d0d
  Author: Gaƫtan Harter <gaetan.harter at fu-berlin.de>
  Date:   2019-01-21 (Mon, 21 Jan 2019)

  Changed paths:
    M tests/posix_semaphore/tests/01-run.py

  Log Message:
  -----------
  tests/posix_semaphore: private sub functions for tests libs

While trying python test libraries, like pytest, the automatic test collection
detects the `testNUM` functions as tests but does not know the `term` argument
and fails.

This declares them as private to only find `testfunc(child)` entry point.

Another solution could have been to use `testNUM(child)` and rename
`testfunc` to `main` but would not match other tests.


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

  Changed paths:
    M tests/posix_semaphore/tests/01-run.py

  Log Message:
  -----------
  Merge pull request #10831 from cladmi/pr/tests/adapt_tests_auto_lookup

tests/posix_semaphore: private sub functions for tests libs


Compare: https://github.com/RIOT-OS/RIOT/compare/8b4b2870ad51...94d6bafc28b2
      **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