File tree Expand file tree Collapse file tree 8 files changed +9
-3
lines changed Expand file tree Collapse file tree 8 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 28
28
^UNITTESTS
29
29
^storage/blockdevice/tests/UNITTESTS
30
30
^storage/kvstore/tests/UNITTESTS
31
+ ^drivers/tests/UNITTESTS
Original file line number Diff line number Diff line change @@ -100,7 +100,8 @@ matrix:
100
100
- |
101
101
! git grep '^#include\s["'"']mbed.h['"'"]$' -- '*.c' '*.h' '*.cpp' '*.hpp' \
102
102
':!*platform_mbed.h' ':!*TESTS/*' ':!TEST_APPS/' ':!UNITTESTS/' \
103
- ':!*tests/*' ':!*targets/*' ':!*TARGET_*' ':!*unsupported/*'
103
+ ':!*tests/*' ':!*targets/*' ':!*TARGET_*' ':!*unsupported/*' \
104
+ ':!*drivers/tests/*'
104
105
105
106
106
107
# ## Docs Tests ###
Original file line number Diff line number Diff line change @@ -122,6 +122,9 @@ set(unittest-includes-base
122
122
"${PROJECT_SOURCE_DIR} /../storage/kvstore/kv_config"
123
123
"${PROJECT_SOURCE_DIR} /../storage/kvstore/kv_config/include"
124
124
"${PROJECT_SOURCE_DIR} /../drivers"
125
+ "${PROJECT_SOURCE_DIR} /../drivers/include"
126
+ "${PROJECT_SOURCE_DIR} /../drivers/include/drivers"
127
+ "${PROJECT_SOURCE_DIR} /../drivers/include/drivers/internal"
125
128
"${PROJECT_SOURCE_DIR} /../hal"
126
129
"${PROJECT_SOURCE_DIR} /../events"
127
130
"${PROJECT_SOURCE_DIR} /../events/source"
Original file line number Diff line number Diff line change
1
+ UNITTESTS/*
File renamed without changes.
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ set(unittest-sources
17
17
18
18
# Test files
19
19
set (unittest-test-sources
20
- drivers/PwmOut/test_pwmout.cpp
20
+ ../ drivers/tests/UNITTESTS /PwmOut/test_pwmout.cpp
21
21
stubs/mbed_critical_stub.c
22
22
stubs/mbed_assert_stub.cpp
23
23
stubs/pwmout_api_stub.c
File renamed without changes.
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ set(unittest-sources
17
17
18
18
# Test files
19
19
set (unittest-test-sources
20
- drivers/Watchdog/test_watchdog.cpp
20
+ ../ drivers/tests/UNITTESTS /Watchdog/test_watchdog.cpp
21
21
stubs/mbed_critical_stub.c
22
22
stubs/mbed_assert_stub.cpp
23
23
stubs/watchdog_api_stub.c
You can’t perform that action at this time.
0 commit comments