1
0
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:
Ludwig Ortmann 2014-02-21 19:07:16 +01:00
parent 3e980184a8
commit 982eecd3a6
19 changed files with 21 additions and 121 deletions

View File

@ -0,0 +1,3 @@
export BOARD ?= native
export RIOTBASE ?= $(CURDIR)/../..
export QUIET ?= 1

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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