Skip to content

Commit 07511d3

Browse files
committed
Fix UNITTESTS build failure
1 parent 9977da6 commit 07511d3

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

UNITTESTS/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ set(unittest-includes-base
151151
"${PROJECT_SOURCE_DIR}/../connectivity/lorawan/lorastack"
152152
"${PROJECT_SOURCE_DIR}/../connectivity/lorawan/lorastack/mac"
153153
"${PROJECT_SOURCE_DIR}/../connectivity/lorawan/lorastack/phy"
154-
"${PROJECT_SOURCE_DIR}/../connectivity/lorawan/system"
154+
"${PROJECT_SOURCE_DIR}/../connectivity/lorawan"
155155
"${PROJECT_SOURCE_DIR}/../connectivity/mbedtls"
156156
"${PROJECT_SOURCE_DIR}/../connectivity/mbedtls/include"
157157
)

UNITTESTS/stubs/LoRaMac_stub.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include <cstddef>
2121

2222
#include "lorawan_types.h"
23-
#include "lorawan_data_structures.h"
23+
#include "system/lorawan_data_structures.h"
2424

2525
namespace LoRaMac_stub {
2626
extern bool bool_value;

UNITTESTS/stubs/LoRaWANTimer_stub.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717

1818
#include "mbed_assert.h"
19-
#include "LoRaWANTimer.h"
19+
#include "system/LoRaWANTimer.h"
2020

2121
#include "LoRaWANTimer_stub.h"
2222

UNITTESTS/stubs/LoRaWANTimer_stub.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
#include "LoRaWANTimer.h"
18+
#include "system/LoRaWANTimer.h"
1919

2020
namespace LoRaWANTimer_stub {
2121
extern lorawan_time_t time_value;

connectivity/lorawan/tests/UNITTESTS/features/lorawan/lorawaninterface/unittest.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ set(TEST_SUITE_NAME "lorawan_LoRaWANInterface")
2020

2121
# Source files
2222
set(unittest-sources
23-
../connectivity/lorawan/LoRaWANInterface.cpp
23+
../connectivity/lorawan/source/LoRaWANInterface.cpp
2424
)
2525

2626
# Add test specific include paths

connectivity/lorawan/tests/UNITTESTS/features/lorawan/lorawanstack/Test_LoRaWANStack.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include "LoRaPHY_stub.h"
2323
#include "LoRaMac_stub.h"
2424
#include "equeue_stub.h"
25-
#include "lorawan_data_structures.h"
25+
#include "system/lorawan_data_structures.h"
2626

2727
static uint8_t batt_level = 0;
2828

connectivity/lorawan/tests/UNITTESTS/features/lorawan/lorawanstack/unittest.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ set(TEST_SUITE_NAME "lorawan_LoRaWANStack")
2020

2121
# Source files
2222
set(unittest-sources
23-
../connectivity/lorawan/LoRaWANStack.cpp
23+
../connectivity/lorawan/source/LoRaWANStack.cpp
2424
)
2525

2626
# Add test specific include paths

0 commit comments

Comments
 (0)