mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
add Makefile.tests_common
Contains common variables for all test Makefiles. Include from test Makefiles.
This commit is contained in:
parent
3e980184a8
commit
982eecd3a6
3
tests/Makefile.tests_common
Normal file
3
tests/Makefile.tests_common
Normal file
@ -0,0 +1,3 @@
|
||||
export BOARD ?= native
|
||||
export RIOTBASE ?= $(CURDIR)/../..
|
||||
export QUIET ?= 1
|
@ -1,11 +1,5 @@
|
||||
# name of your application
|
||||
export PROJECT = test_bloom
|
||||
|
||||
# for easy switching of boards
|
||||
export BOARD ?= native
|
||||
|
||||
# this has to be the absolute path of the RIOT-base dir
|
||||
export RIOTBASE = $(CURDIR)/../..
|
||||
include ../Makefile.tests_common
|
||||
|
||||
ifneq (,$(filter msb-430,$(BOARD)))
|
||||
include $(RIOTBASE)/Makefile.unsupported
|
||||
|
@ -1,11 +1,5 @@
|
||||
# name of your application
|
||||
export PROJECT = test_bloom
|
||||
|
||||
# for easy switching of boards
|
||||
export BOARD ?= native
|
||||
|
||||
# this has to be the absolute path of the RIOT-base dir
|
||||
export RIOTBASE = $(CURDIR)/../..
|
||||
include ../Makefile.tests_common
|
||||
|
||||
ifneq (,$(filter msb-430,$(BOARD)))
|
||||
include $(RIOTBASE)/Makefile.unsupported
|
||||
|
@ -1,10 +1,4 @@
|
||||
# name of your application
|
||||
export PROJECT = test_float
|
||||
|
||||
# for easy switching of boards
|
||||
export BOARD ?= native
|
||||
|
||||
# this has to be the absolute path of the RIOT-base dir
|
||||
export RIOTBASE = $(CURDIR)/../..
|
||||
include ../Makefile.tests_common
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
@ -1,9 +1,4 @@
|
||||
# name of your application
|
||||
export PROJECT = test_hwtimer
|
||||
|
||||
export BOARD ?= native
|
||||
|
||||
# this has to be the absolute path of the RIOT-base dir
|
||||
export RIOTBASE = $(CURDIR)/../..
|
||||
include ../Makefile.tests_common
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
@ -1,11 +1,5 @@
|
||||
# define application name
|
||||
export PROJECT = test_hwtimer_spin
|
||||
|
||||
# for easy switching of boards
|
||||
export BOARD ?= native
|
||||
|
||||
# the absolute path of the RIOT-base dir
|
||||
export RIOTBASE = $(CURDIR)/../..
|
||||
include ../Makefile.tests_common
|
||||
|
||||
# modules to include
|
||||
USEMODULE += auto_init
|
||||
|
@ -1,11 +1,5 @@
|
||||
# name of your application
|
||||
export PROJECT = test_irq
|
||||
#
|
||||
# for easy switching of boards
|
||||
export BOARD ?= native
|
||||
|
||||
# this has to be the absolute path of the RIOT-base dir
|
||||
export RIOTBASE = $(CURDIR)/../..
|
||||
include ../Makefile.tests_common
|
||||
|
||||
ifeq (,$(filter native,$(BOARD)))
|
||||
include $(RIOTBASE)/Makefile.unsupported
|
||||
|
@ -1,14 +1,8 @@
|
||||
debug: CFLAGS += -g
|
||||
debug: CFLAGS += -DENABLE_DEBUG
|
||||
|
||||
# name of your application
|
||||
export PROJECT = test_nativenet
|
||||
#
|
||||
# for easy switching of boards
|
||||
export BOARD = native
|
||||
|
||||
# this has to be the absolute path of the RIOT-base dir
|
||||
export RIOTBASE = $(CURDIR)/../..
|
||||
include ../Makefile.tests_common
|
||||
|
||||
ifeq (,$(filter native,$(BOARD)))
|
||||
include $(RIOTBASE)/Makefile.unsupported
|
||||
|
@ -7,17 +7,8 @@
|
||||
#### ../../boards for board definitions (if you have one or more)
|
||||
####
|
||||
|
||||
# name of your application
|
||||
export PROJECT =test_pnet
|
||||
|
||||
# for easy switching of boards
|
||||
ifeq ($(strip $(BOARD)),)
|
||||
export BOARD = native
|
||||
endif
|
||||
|
||||
# this has to be the absolute path of the RIOT-base dir
|
||||
export RIOTBASE =$(CURDIR)/../..
|
||||
export RIOTBOARD =$(RIOTBASE)/boards
|
||||
include ../Makefile.tests_common
|
||||
|
||||
ifeq ($(BOARD),stm32f4discovery)
|
||||
include Makefile.$(BOARD)
|
||||
|
@ -1,11 +1,6 @@
|
||||
# name of your project
|
||||
export PROJECT = test_pthread
|
||||
include ../Makefile.tests_common
|
||||
|
||||
# for easy switching of boards
|
||||
export BOARD ?= native
|
||||
|
||||
# this has to be the absolute path of the RIOT-base dir
|
||||
export RIOTBASE = $(CURDIR)/../..
|
||||
|
||||
## Modules to include.
|
||||
USEMODULE += posix
|
||||
|
@ -1,11 +1,6 @@
|
||||
# name of your application
|
||||
export PROJECT = test_semaphore
|
||||
include ../Makefile.tests_common
|
||||
|
||||
# for easy switching of boards
|
||||
export BOARD ?= native
|
||||
|
||||
# this has to be the absolute path of the RIOT-base dir
|
||||
export RIOTBASE = $(CURDIR)/../..
|
||||
|
||||
## Modules to include.
|
||||
USEMODULE += semaphore
|
||||
|
@ -1,11 +1,6 @@
|
||||
# name of your application
|
||||
export PROJECT = test_sha256
|
||||
include ../Makefile.tests_common
|
||||
|
||||
# for easy switching of boards
|
||||
export BOARD ?= native
|
||||
|
||||
# this has to be the absolute path of the RIOT-base dir
|
||||
export RIOTBASE = $(CURDIR)/../..
|
||||
|
||||
## Modules to include.
|
||||
USEMODULE += crypto_sha256
|
||||
|
@ -1,11 +1,5 @@
|
||||
# name of your application
|
||||
export PROJECT = test_shell
|
||||
|
||||
# for easy switching of boards
|
||||
export BOARD ?= native
|
||||
|
||||
# this has to be the absolute path of the RIOT-base dir
|
||||
export RIOTBASE = $(CURDIR)/../..
|
||||
include ../Makefile.tests_common
|
||||
|
||||
## Modules to include.
|
||||
|
||||
|
@ -1,10 +1,4 @@
|
||||
# name of your application
|
||||
export PROJECT = test_thread_basic
|
||||
|
||||
# for easy switching of boards
|
||||
export BOARD ?= native
|
||||
|
||||
# this has to be the absolute path of the RIOT-base dir
|
||||
export RIOTBASE = $(CURDIR)/../..
|
||||
include ../Makefile.tests_common
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
@ -1,10 +1,4 @@
|
||||
# name of your application
|
||||
export PROJECT = test_thread_exit
|
||||
|
||||
# for easy switching of boards
|
||||
export BOARD ?= native
|
||||
|
||||
# this has to be the absolute path of the RIOT-base dir
|
||||
export RIOTBASE = $(CURDIR)/../..
|
||||
include ../Makefile.tests_common
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
@ -1,9 +1,4 @@
|
||||
# name of your application
|
||||
export PROJECT = test_thread_msg
|
||||
|
||||
export BOARD ?= native
|
||||
|
||||
# the absolute path of the RIOT-base dir
|
||||
export RIOTBASE =$(CURDIR)/../..
|
||||
include ../Makefile.tests_common
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
@ -1,9 +1,4 @@
|
||||
# name of your project
|
||||
export PROJECT = test_thread_msg_block_w_queue
|
||||
|
||||
export BOARD ?= native
|
||||
|
||||
# the absolute path of the RIOT-base dir
|
||||
export RIOTBASE =$(CURDIR)/../..
|
||||
include ../Makefile.tests_common
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
@ -1,9 +1,4 @@
|
||||
# name of your project
|
||||
export PROJECT = test_thread_msg_block_wo_queue
|
||||
|
||||
export BOARD ?= native
|
||||
|
||||
# the absolute path of the RIOT-base dir
|
||||
export RIOTBASE =$(CURDIR)/../..
|
||||
include ../Makefile.tests_common
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
@ -1,11 +1,6 @@
|
||||
# name of your application
|
||||
export PROJECT = test_vtimer_msg
|
||||
include ../Makefile.tests_common
|
||||
|
||||
# for easy switching of boards
|
||||
export BOARD ?= native
|
||||
|
||||
# this has to be the absolute path of the RIOT-base dir
|
||||
export RIOTBASE = $(CURDIR)/../..
|
||||
|
||||
## Modules to include.
|
||||
USEMODULE += auto_init
|
||||
|
Loading…
Reference in New Issue
Block a user