1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

10 Commits

Author SHA1 Message Date
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
4c717d42c1 tests: xtimer_msg_receive_timeout: always wait for not received message 2017-06-27 17:33:22 +02:00
smlng
44801c4ef6 tests: enhance xtimer_msg_receive_timeout
- correct test period from 100ms to 1000ms, to match description
    - moved description to separate README.md
    - changed timer message type from 44 to 42, for nerdiness
    - minor code enhancements
2017-05-30 22:00:49 +02:00
Neil Jones
fd9ce7a865 tests: Add mssing includes for leds and xtimer test 2017-02-09 13:05:07 +00:00
Martine Lenders
dcda44e9ea tests: xtimer_msg_receive_timeout: initialize values
Fixes #4372
2016-03-31 18:09:11 +02:00
test
f9905b5a0c tests: xtimer_msg_receive_timeout: speed up test 2016-03-05 20:36:28 +01:00
Oleg Hahm
91432faccb tests: remove timer after each loop
...in xtimer_msg_receive_timeout
2016-03-01 21:44:19 +01:00
Oleg Hahm
a92f30e13f test: xtimer document xtimer_msg_receive_timeout 2016-03-01 21:44:01 +01:00
6f84493da7 tests: xtimer_msg_receive_timeout: remove timer before ending scope 2016-02-23 13:52:30 +01:00
Oleg Hahm
24ce427a3a tests: added test for xtimer_msg_receive_timeout 2015-11-28 22:58:22 +01:00