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

2 Commits

Author SHA1 Message Date
Marian Buschsieweke
02e069a357
tests/malloc_thread_safety: improve test
- fix false test failure on picolibc
    - For picolibc, the result of mallinfo().uordblks doesn't go back
      to zero after the first allocation. By adding `free(malloc(4))`
      before recording the pre-test mallinfo() value, this issues is
      worked arround
- increase test coverage to also cover realloc()
- ease testing with picolibc by allowing `make PICOLIBC=1 flash test`
2021-03-31 09:17:50 +02:00
Marian Buschsieweke
c9d63c9f4f
tests/malloc_thread_safety: new test
This test checks whether calling malloc in more than one thread is safe.
2020-12-17 15:39:05 +01:00