Skip to content

Commit

Permalink
Update pw library wrapper name
Browse files Browse the repository at this point in the history
  • Loading branch information
jlatusek committed Jan 22, 2024
1 parent 4089fbd commit 70f0607
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/esp32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ group("esp32") {
if (chip_build_tests) {
deps += [
"${chip_root}/src:tests",
"${chip_root}/src/lib/support:testing_pw",
"${chip_root}/src/lib/support:pw_tests_wrapper",
]
}
}
2 changes: 1 addition & 1 deletion config/openiotsdk/chip-gn/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ group("openiotsdk") {
if (chip_build_tests) {
deps += [
"${chip_root}/src:tests",
"${chip_root}/src/lib/support:testing_pw",
"${chip_root}/src/lib/support:pw_tests_wrapper",
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/test_driver/efr32/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ silabs_executable("efr32_device_tests") {
"${chip_root}/src:tests",
"${chip_root}/src/lib",
"${chip_root}/src/lib/support:testing_nlunit",
"${chip_root}/src/lib/support:testing_pw",
"${chip_root}/src/lib/support:pw_tests_wrapper",
"${examples_common_plat_dir}/pw_sys_io:pw_sys_io_silabs",
"${nlunit_test_root}:nlunit-test",
]
Expand Down
2 changes: 1 addition & 1 deletion src/test_driver/esp32/main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ target_compile_options(${COMPONENT_LIB} PUBLIC
)

target_link_directories(${COMPONENT_LIB} PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/../chip/lib)
target_link_libraries(${COMPONENT_LIB} PUBLIC -lSupportTesting -lTestPW)
target_link_libraries(${COMPONENT_LIB} PUBLIC -lSupportTesting -lPWTestsWrapper)
3 changes: 1 addition & 2 deletions src/test_driver/openiotsdk/unit-tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,9 @@ foreach(TEST_NAME IN LISTS TEST_NAMES_FROM_FILE)
target_link_options(${APP_TARGET}
PUBLIC
-Wl,--whole-archive "${CMAKE_CURRENT_BINARY_DIR}/chip_build/lib/lib${TEST_NAME}.a"
"${CMAKE_CURRENT_BINARY_DIR}/chip_build/lib/libTestPW.a"
"${CMAKE_CURRENT_BINARY_DIR}/chip_build/lib/libPWTestsWrapper.a"
-Wl,--no-whole-archive)

# ${MATTER_LIB_DIR}/libTestPW.a
set_target_link(${APP_TARGET})
sdk_post_build(${APP_TARGET})
endforeach()

0 comments on commit 70f0607

Please sign in to comment.