Skip to content

Commit fee7906

Browse files
committed
CMake: Update lorawan unittest to use mbed-stubs-lorawan
Update lorawan unit test to link only with a mbed-stubs-lorawan library that it depends on instead of link with mbed-stubs which is a group of stubs libraries.
1 parent 8f238f1 commit fee7906

File tree

15 files changed

+15
-0
lines changed

15 files changed

+15
-0
lines changed

connectivity/lorawan/tests/UNITTESTS/features/lorawan/loramac/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ target_link_libraries(${TEST_NAME}
3636
mbed-headers
3737
mbed-stubs
3838
mbed-stubs-headers
39+
mbed-stubs-lorawan
3940
gmock_main
4041
)
4142

connectivity/lorawan/tests/UNITTESTS/features/lorawan/loramacchannelplan/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ target_link_libraries(${TEST_NAME}
2121
mbed-headers
2222
mbed-stubs
2323
mbed-stubs-headers
24+
mbed-stubs-lorawan
2425
gmock_main
2526
)
2627

connectivity/lorawan/tests/UNITTESTS/features/lorawan/loramaccommand/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ target_link_libraries(${TEST_NAME}
2121
mbed-headers
2222
mbed-stubs
2323
mbed-stubs-headers
24+
mbed-stubs-lorawan
2425
gmock_main
2526
)
2627

connectivity/lorawan/tests/UNITTESTS/features/lorawan/loraphy/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ target_link_libraries(${TEST_NAME}
2525
mbed-headers
2626
mbed-stubs
2727
mbed-stubs-headers
28+
mbed-stubs-lorawan
2829
gmock_main
2930
)
3031

connectivity/lorawan/tests/UNITTESTS/features/lorawan/loraphyas923/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ target_link_libraries(${TEST_NAME}
2323
mbed-headers
2424
mbed-stubs
2525
mbed-stubs-headers
26+
mbed-stubs-lorawan
2627
gmock_main
2728
)
2829

connectivity/lorawan/tests/UNITTESTS/features/lorawan/loraphyau915/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ target_link_libraries(${TEST_NAME}
2929
mbed-headers
3030
mbed-stubs
3131
mbed-stubs-headers
32+
mbed-stubs-lorawan
3233
gmock_main
3334
)
3435

connectivity/lorawan/tests/UNITTESTS/features/lorawan/loraphycn470/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ target_link_libraries(${TEST_NAME}
2929
mbed-headers
3030
mbed-stubs
3131
mbed-stubs-headers
32+
mbed-stubs-lorawan
3233
gmock_main
3334
)
3435

connectivity/lorawan/tests/UNITTESTS/features/lorawan/loraphycn779/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ target_link_libraries(${TEST_NAME}
2323
mbed-headers
2424
mbed-stubs
2525
mbed-stubs-headers
26+
mbed-stubs-lorawan
2627
gmock_main
2728
)
2829

connectivity/lorawan/tests/UNITTESTS/features/lorawan/loraphyeu433/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ target_link_libraries(${TEST_NAME}
2424
mbed-headers-cellular
2525
mbed-stubs
2626
mbed-stubs-headers
27+
mbed-stubs-lorawan
2728
gmock_main
2829
)
2930

connectivity/lorawan/tests/UNITTESTS/features/lorawan/loraphyeu868/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ target_link_libraries(${TEST_NAME}
2323
mbed-headers
2424
mbed-stubs
2525
mbed-stubs-headers
26+
mbed-stubs-lorawan
2627
gmock_main
2728
)
2829

0 commit comments

Comments
 (0)