1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/cpu/native_backtrace/Makefile
Frederik Haxel 5ed0bafc92 examples, tests: Changes for the native64 board
- Adapted build system and test checks for the native boards to include native64
- Added `native64` to the same tests as `native`
2024-02-05 22:02:14 +01:00

15 lines
505 B
Makefile

include ../Makefile.cpu_common
USEMODULE += backtrace
BOARD_WHITELIST := native native64
# Tests if native returns a backtrace of size three.
# The following function should be included in the backtrace:
# `main`/`main_trampoline`/ return to a user context function (e.g. `makecontext`)
# Depending on the implementation of the ucontext functions, the backtrace size
# may be longer, but this test only checks if it is at least three.
CFLAGS += -DBACKTRACE_SIZE=3
include $(RIOTBASE)/Makefile.include