Skip to content

Commit

Permalink
tests: remove DEVELHELP from per test Makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
smlng committed Dec 14, 2017
1 parent d15c755 commit 6f67e75
Show file tree
Hide file tree
Showing 33 changed files with 0 additions and 100 deletions.
2 changes: 0 additions & 2 deletions tests/conn_can/Makefile
Expand Up @@ -6,8 +6,6 @@ BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo32-f031 nucleo32-f04
nucleo-l053 stm32f0discovery telosb wsn430-v1_3b \
wsn430-v1_4 z1


CFLAGS += -DDEVELHELP
CFLAGS += -DLOG_LEVEL=LOG_ALL

USEMODULE += shell
Expand Down
5 changes: 0 additions & 5 deletions tests/cpp11_condition_variable/Makefile
Expand Up @@ -8,11 +8,6 @@ include ../Makefile.tests_common
# not pull in all C++ locale code whenever exceptions are used.
BOARD_INSUFFICIENT_MEMORY := nucleo-f334 spark-core stm32f0discovery

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
CFLAGS += -DDEVELHELP

# If you want to add some extra flags when compile c++ files, add these flags
# to CXXEXFLAGS variable
CXXEXFLAGS += -std=c++11
Expand Down
5 changes: 0 additions & 5 deletions tests/cpp11_mutex/Makefile
Expand Up @@ -8,11 +8,6 @@ include ../Makefile.tests_common
# not pull in all C++ locale code whenever exceptions are used.
BOARD_INSUFFICIENT_MEMORY := nucleo-f334 spark-core stm32f0discovery

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
CFLAGS += -DDEVELHELP

# If you want to add some extra flags when compile c++ files, add these flags
# to CXXEXFLAGS variable
CXXEXFLAGS += -std=c++11
Expand Down
5 changes: 0 additions & 5 deletions tests/cpp11_thread/Makefile
Expand Up @@ -8,11 +8,6 @@ include ../Makefile.tests_common
# not pull in all C++ locale code whenever exceptions are used.
BOARD_INSUFFICIENT_MEMORY := nucleo-f334 spark-core stm32f0discovery

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
CFLAGS += -DDEVELHELP

# If you want to add some extra flags when compile c++ files, add these flags
# to CXXEXFLAGS variable
CXXEXFLAGS += -std=c++11
Expand Down
2 changes: 0 additions & 2 deletions tests/driver_at30tse75x/Makefile
Expand Up @@ -6,6 +6,4 @@ USEMODULE += at30tse75x
USEMODULE += shell
USEMODULE += shell_commands

CFLAGS += -DDEVELHELP

include $(RIOTBASE)/Makefile.include
2 changes: 0 additions & 2 deletions tests/driver_at86rf2xx/Makefile
Expand Up @@ -29,6 +29,4 @@ DRIVER ?= at86rf231
# include the selected driver
USEMODULE += $(DRIVER)

CFLAGS += -DDEVELHELP

include $(RIOTBASE)/Makefile.include
2 changes: 0 additions & 2 deletions tests/driver_kw2xrf/Makefile
Expand Up @@ -16,6 +16,4 @@ DRIVER ?= kw2xrf
# finally include the actual chosen driver
USEMODULE += $(DRIVER)

CFLAGS += -DDEVELHELP

include $(RIOTBASE)/Makefile.include
2 changes: 0 additions & 2 deletions tests/driver_sx127x/Makefile
Expand Up @@ -18,6 +18,4 @@ USEMODULE += ${DRIVER}
FEATURES_REQUIRED ?= periph_spi
FEATURES_REQUIRED ?= periph_gpio

CFLAGS += -DDEVELHELP

include $(RIOTBASE)/Makefile.include
5 changes: 0 additions & 5 deletions tests/driver_xbee/Makefile
Expand Up @@ -15,11 +15,6 @@ USEMODULE += shell_commands
# No need of big buffer for this test
CFLAGS += -DGNRC_PKTBUF_SIZE=512

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
CFLAGS += -DDEVELHELP

# add current directory to the include path. Putting it in CFLAGS will make
# it go to the beginning, before the standard includes.
# That way xbee_params.h get's included and auto configuration can pick it up.
Expand Down
2 changes: 0 additions & 2 deletions tests/fault_handler/Makefile
@@ -1,8 +1,6 @@
# name of your application
include ../Makefile.tests_common

CFLAGS += -DDEVELHELP=1

ifeq ($(shell uname),Darwin)
CFLAGS += -Wno-language-extension-token
endif
Expand Down
5 changes: 0 additions & 5 deletions tests/gnrc_ipv6_ext/Makefile
Expand Up @@ -22,11 +22,6 @@ USEMODULE += gnrc_udp
# Add also the shell, some shell commands
USEMODULE += ps

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
CFLAGS += -DDEVELHELP

include $(RIOTBASE)/Makefile.include

# The test can check more things with ENABLE_DEBUG set to 1 in gnrc_ipv6.c
Expand Down
1 change: 0 additions & 1 deletion tests/gnrc_ipv6_nib/Makefile
Expand Up @@ -10,7 +10,6 @@ USEMODULE += embunit
USEMODULE += netdev_eth
USEMODULE += netdev_test

CFLAGS += -DDEVELHELP
CFLAGS += -DGNRC_NETTYPE_NDP=GNRC_NETTYPE_TEST
CFLAGS += -DGNRC_PKTBUF_SIZE=512
CFLAGS += -DTEST_SUITES
Expand Down
1 change: 0 additions & 1 deletion tests/gnrc_ipv6_nib_6ln/Makefile
Expand Up @@ -13,7 +13,6 @@ USEMODULE += embunit
USEMODULE += netdev_ieee802154
USEMODULE += netdev_test

CFLAGS += -DDEVELHELP
CFLAGS += -DGNRC_NETTYPE_NDP=GNRC_NETTYPE_TEST
CFLAGS += -DGNRC_PKTBUF_SIZE=512
CFLAGS += -DTEST_SUITES
Expand Down
1 change: 0 additions & 1 deletion tests/gnrc_netif/Makefile
Expand Up @@ -21,7 +21,6 @@ USEMODULE += netdev_ieee802154
USEMODULE += netdev_test
USEMODULE += od

CFLAGS += -DDEVELHELP
CFLAGS += -DGNRC_NETIF_NUMOF=4
CFLAGS += -DGNRC_NETIF_ADDRS_NUMOF=16
CFLAGS += -DGNRC_NETIF_GROUPS_NUMOF=8
Expand Down
5 changes: 0 additions & 5 deletions tests/gnrc_sixlowpan/Makefile
Expand Up @@ -19,11 +19,6 @@ USEMODULE += gnrc_udp
# Dumps packets
USEMODULE += gnrc_pktdump

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
CFLAGS += -DDEVELHELP

include $(RIOTBASE)/Makefile.include

test:
Expand Down
2 changes: 0 additions & 2 deletions tests/gnrc_sock_dns/Makefile
Expand Up @@ -16,8 +16,6 @@ USEMODULE += shell_commands

USEMODULE += posix

CFLAGS += -DDEVELHELP

LOW_MEMORY_BOARDS := nucleo-f334 msb-430 msb-430h

ifeq ($(BOARD),$(filter $(BOARD),$(LOW_MEMORY_BOARDS)))
Expand Down
1 change: 0 additions & 1 deletion tests/gnrc_sock_ip/Makefile
Expand Up @@ -6,7 +6,6 @@ USEMODULE += gnrc_sock_ip
USEMODULE += gnrc_ipv6
USEMODULE += ps

CFLAGS += -DDEVELHELP
CFLAGS += -DGNRC_PKTBUF_SIZE=200
CFLAGS += -DTEST_SUITES

Expand Down
1 change: 0 additions & 1 deletion tests/gnrc_sock_udp/Makefile
Expand Up @@ -7,7 +7,6 @@ USEMODULE += gnrc_sock_udp
USEMODULE += gnrc_ipv6
USEMODULE += ps

CFLAGS += -DDEVELHELP
CFLAGS += -DGNRC_PKTBUF_SIZE=400
CFLAGS += -DTEST_SUITES

Expand Down
5 changes: 0 additions & 5 deletions tests/gnrc_tcp_client/Makefile
Expand Up @@ -22,11 +22,6 @@ CFLAGS += -DTARGET_ADDR=\"$(TCP_TARGET_ADDR)\"
CFLAGS += -DTARGET_PORT=$(TCP_TARGET_PORT)
CFLAGS += -DCYCLES=$(TCP_TEST_CYCLES)

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
#CFLAGS += -DDEVELHELP

# Modules to include
USEMODULE += gnrc_netdev_default
USEMODULE += auto_init_gnrc_netif
Expand Down
5 changes: 0 additions & 5 deletions tests/gnrc_tcp_server/Makefile
Expand Up @@ -25,11 +25,6 @@ CFLAGS += -DLOCAL_ADDR=\"$(TCP_LOCAL_ADDR)\"
CFLAGS += -DLOCAL_PORT=$(TCP_LOCAL_PORT)
CFLAGS += -DCYCLES=$(TCP_TEST_CYCLES)

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
#CFLAGS += -DDEVELHELP

# Modules to include
USEMODULE += gnrc_netdev_default
USEMODULE += auto_init_gnrc_netif
Expand Down
2 changes: 0 additions & 2 deletions tests/gnrc_udp/Makefile
Expand Up @@ -20,8 +20,6 @@ USEMODULE += ps
USEMODULE += netstats_l2
USEMODULE += netstats_ipv6

CFLAGS += -DDEVELHELP

include $(RIOTBASE)/Makefile.include

# Set a custom channel if needed
Expand Down
1 change: 0 additions & 1 deletion tests/lwip_sock_ip/Makefile
Expand Up @@ -34,7 +34,6 @@ USEMODULE += ps

DISABLE_MODULE += auto_init

CFLAGS += -DDEVELHELP
CFLAGS += -DSO_REUSE
CFLAGS += -DLWIP_SO_RCVTIMEO

Expand Down
1 change: 0 additions & 1 deletion tests/lwip_sock_tcp/Makefile
Expand Up @@ -34,7 +34,6 @@ USEMODULE += ps

DISABLE_MODULE += auto_init

CFLAGS += -DDEVELHELP
CFLAGS += -DSO_REUSE
CFLAGS += -DLWIP_SO_RCVTIMEO
CFLAGS += -DLWIP_SOCK_TCP_ACCEPT_TIMEOUT=500
Expand Down
1 change: 0 additions & 1 deletion tests/lwip_sock_udp/Makefile
Expand Up @@ -34,7 +34,6 @@ USEMODULE += ps

DISABLE_MODULE += auto_init

CFLAGS += -DDEVELHELP
CFLAGS += -DSO_REUSE
CFLAGS += -DLWIP_SO_RCVTIMEO

Expand Down
5 changes: 0 additions & 5 deletions tests/lwmac/Makefile
Expand Up @@ -12,11 +12,6 @@ BOARD ?= samr21-xpro
# be then accordingly extended.
BOARD_WHITELIST := samr21-xpro

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
CFLAGS += -DDEVELHELP

# Modules to include:
USEMODULE += shell
USEMODULE += shell_commands
Expand Down
5 changes: 0 additions & 5 deletions tests/malloc/Makefile
@@ -1,8 +1,3 @@
include ../Makefile.tests_common

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
CFLAGS += -DDEVELHELP

include $(RIOTBASE)/Makefile.include
2 changes: 0 additions & 2 deletions tests/mpu_stack_guard/Makefile
Expand Up @@ -39,8 +39,6 @@ BOARD_WHITELIST += stm32f3discovery # cortex-m4f
BOARD_WHITELIST += stm32f4discovery # cortex-m4f
BOARD_WHITELIST += udoo # cortex-m3

CFLAGS += -DDEVELHELP

USEMODULE += mpu_stack_guard

include $(RIOTBASE)/Makefile.include
5 changes: 0 additions & 5 deletions tests/od/Makefile
Expand Up @@ -3,11 +3,6 @@ include ../Makefile.tests_common
USEMODULE += od
# USEMODULE += od_string

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
CFLAGS += -DDEVELHELP

include $(RIOTBASE)/Makefile.include

test:
Expand Down
5 changes: 0 additions & 5 deletions tests/openthread/Makefile
Expand Up @@ -8,11 +8,6 @@ BOARD_WHITELIST := samr21-xpro iotlab-m3 fox iotlab-a8-m3
# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
CFLAGS += -DDEVELHELP -Wall

# Change this to 0 show compiler invocation lines by default:
QUIET ?= 1

Expand Down
5 changes: 0 additions & 5 deletions tests/pkg_microcoap/Makefile
Expand Up @@ -22,11 +22,6 @@ USEPKG += microcoap
# include this for printing IP addresses
USEMODULE += shell_commands

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
#CFLAGS += -DDEVELHELP

# Use different settings when compiling for one of the following (low-memory)
# boards
LOW_MEMORY_BOARDS := nucleo-f334
Expand Down
1 change: 0 additions & 1 deletion tests/ps_schedstatistics/Makefile
Expand Up @@ -5,7 +5,6 @@ BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo-f030 nucleo-l053 \
stm32f0discovery telosb wsn430-v1_3b \
wsn430-v1_4 z1

CFLAGS += -DDEVELHELP
USEMODULE += shell
USEMODULE += shell_commands
USEMODULE += ps
Expand Down
5 changes: 0 additions & 5 deletions tests/sntp/Makefile
Expand Up @@ -13,9 +13,4 @@ USEMODULE += gnrc_netdev_default
USEMODULE += shell
USEMODULE += shell_commands

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
CFLAGS += -DDEVELHELP

include $(RIOTBASE)/Makefile.include
3 changes: 0 additions & 3 deletions tests/ssp/Makefile
Expand Up @@ -7,9 +7,6 @@ BOARD_BLACKLIST := arduino-mega2560 waspmote-pro arduino-uno arduino-duemilanove

USEMODULE += ssp

# set DEVELHELP so the board halts after crash
CFLAGS += -DDEVELHELP

include $(RIOTBASE)/Makefile.include

test:
Expand Down

0 comments on commit 6f67e75

Please sign in to comment.