Skip to content

Commit fafa0c4

Browse files
committed
Update UNITTESTS header reference
1 parent 159410b commit fafa0c4

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

.codecheckignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
^storage/filesystem/littlefsv2/littlefs/
2020
^features/unsupported/
2121
^hal/storage_abstraction
22+
^hal/tests/TESTS/mbed_hal/trng/pithy
23+
^hal/tests/TESTS/mbed_hal/trng/pithy
2224
^platform/cxxsupport
2325
^platform/tests/UNITTESTS
2426
^events/tests/UNITTESTS
2527
^rtos/source/TARGET_CORTEX/rtx4
2628
^rtos/source/TARGET_CORTEX/rtx5
2729
^targets
28-
^TESTS/mbed_hal/trng/pithy
29-
^TESTS/mbed_hal/trng/pithy
3030
^tools
3131
^UNITTESTS
3232
^storage/blockdevice/tests/UNITTESTS

UNITTESTS/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ set(unittest-includes-base
126126
"${PROJECT_SOURCE_DIR}/../drivers/include/drivers"
127127
"${PROJECT_SOURCE_DIR}/../drivers/include/drivers/internal"
128128
"${PROJECT_SOURCE_DIR}/../hal"
129+
"${PROJECT_SOURCE_DIR}/../hal/include"
129130
"${PROJECT_SOURCE_DIR}/../events/include"
130131
"${PROJECT_SOURCE_DIR}/../events/include/events/internal"
131132
"${PROJECT_SOURCE_DIR}/../events/source"

UNITTESTS/stubs/us_ticker_stub.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
#include "stdlib.h"
20-
#include "us_ticker_api.h"
20+
#include "hal/us_ticker_api.h"
2121

2222
const ticker_data_t *get_us_ticker_data(void)
2323
{

UNITTESTS/stubs/watchdog_api_stub.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
#include "watchdog_api.h"
17+
#include "hal/watchdog_api.h"
1818

1919
#if DEVICE_WATCHDOG
2020

UNITTESTS/target_h/PinNames.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ typedef enum {
4747
#ifdef __cplusplus
4848
}
4949
#endif
50-
#include "pinmap.h"
50+
#include "hal/pinmap.h"
5151

5252
#endif

0 commit comments

Comments
 (0)