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

tests: automatically exit native when the test has finished

This commit is contained in:
Benjamin Valentin 2024-03-04 14:10:06 +01:00
parent 5164a6cc59
commit da0298992e
2 changed files with 3 additions and 2 deletions

View File

@ -12,6 +12,9 @@ ifneq (,$(wildcard $(CURDIR)/tests*/.))
endif
endif
# terminate native when the test is complete
CFLAGS += -DNATIVE_AUTO_EXIT=1
BOARD ?= native
RIOTBASE ?= $(CURDIR)/../..
QUIET ?= 1

View File

@ -4,6 +4,4 @@ USEMODULE += posix_headers
USEMODULE += pthread
USEMODULE += xtimer
CFLAGS += -DNATIVE_AUTO_EXIT
include $(RIOTBASE)/Makefile.include