1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/unittests/tests-core
Marian Buschsieweke eb1279005c
tests: Cleanup access to internal variables
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:

1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
   functions
2020-08-24 09:08:01 +02:00
..
Makefile
tests-core-atomic.c cpu: Rename CPU_ARCH to CPU_CORE 2020-06-16 12:05:40 +02:00
tests-core-bitarithm.c core/bitarithm: add explicit 32-bit function 2018-10-08 13:57:21 +02:00
tests-core-byteorder.c unittest/byteorder: add tests for uint32 from/to funcs 2020-07-13 11:21:31 +02:00
tests-core-cib.c tests: add #8117 test case for cib.h unittests 2017-11-22 18:23:34 +01:00
tests-core-clist.c unittests/core: added tests for clist_count 2019-03-23 23:47:25 +01:00
tests-core-lifo.c doc: Add mail address where it is missing 2015-02-08 19:41:14 +01:00
tests-core-list.c tests: provide unittests for core/list 2017-01-24 14:15:48 +01:00
tests-core-priority-queue.c tests: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
tests-core-ringbuffer.c tests: Cleanup access to internal variables 2020-08-24 09:08:01 +02:00
tests-core.c tests: provide unittests for core/list 2017-01-24 14:15:48 +01:00
tests-core.h tests: provide unittests for core/list 2017-01-24 14:15:48 +01:00