Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
a2b4c42c
Commit
a2b4c42c
authored
7 years ago
by
Joakim Nohlgård
Browse files
Options
Downloads
Patches
Plain Diff
unittests: Only build C++ tests for some platforms
Known working platforms are native and Cortex-M
parent
0f477b8b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/unittests/Makefile
+9
-3
9 additions, 3 deletions
tests/unittests/Makefile
with
9 additions
and
3 deletions
tests/unittests/Makefile
+
9
−
3
View file @
a2b4c42c
...
...
@@ -27,7 +27,7 @@ else
endif
ARM7_BOARDS
:=
msba2 avrextrem
DISABLE_TEST_FOR_ARM7
:=
tests-relic
DISABLE_TEST_FOR_ARM7
:=
tests-relic
tests-cpp_%
ARM_CORTEX_M_BOARDS
:=
airfy-beacon arduino-due arduino-zero cc2538dk ek-lm4f120xl
\
f4vi1 fox frdm-k64f iotlab-m3 limifrog-v1 mbed_lpc1768 msbiot
\
...
...
@@ -43,10 +43,10 @@ ARM_CORTEX_M_BOARDS := airfy-beacon arduino-due arduino-zero cc2538dk ek-lm4f120
DISABLE_TEST_FOR_ARM_CORTEX_M
:=
tests-relic
AVR_BOARDS
:=
arduino-mega2560 waspmote-pro arduino-uno arduino-duemilanove
DISABLE_TEST_FOR_AVR
:=
tests-relic
DISABLE_TEST_FOR_AVR
:=
tests-relic
tests-cpp_%
MSP430_BOARDS
:=
chronos msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1
DISABLE_TEST_FOR_MSP430
:=
tests-relic tests-spiffs
DISABLE_TEST_FOR_MSP430
:=
tests-relic tests-spiffs
tests-cpp_%
ifneq
(, $(filter $(ARM7_BOARDS), $(BOARD)))
UNIT_TESTS
:=
$(
filter-out
$(
DISABLE_TEST_FOR_ARM7
)
,
$(
UNIT_TESTS
))
...
...
@@ -64,6 +64,12 @@ ifneq (, $(filter $(MSP430_BOARDS), $(BOARD)))
UNIT_TESTS
:=
$(
filter-out
$(
DISABLE_TEST_FOR_MSP430
)
,
$(
UNIT_TESTS
))
endif
ifneq
(,$(filter tests-cpp_%, $(UNIT_TESTS)))
# We need to tell the build system to use the C++ compiler for linking
export
FEATURES_REQUIRED
+=
cpp
export
CPPMIX
:=
1
endif
DISABLE_MODULE
+=
auto_init
# Pull in `Makefile.include`s from the test suites:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment