Skip to content

Commit d341698

Browse files
committed
Update CMakeLists.txt and pub_sub.cxx
1 parent 9f7cd2f commit d341698

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ foreach(file ${files})
4242
endif()
4343
endforeach()
4444

45-
file(GLOB files "${CMAKE_CURRENT_SOURCE_DIR}/universal/network/pub_*.cxx")
45+
file(GLOB files "${CMAKE_CURRENT_SOURCE_DIR}/universal/network/*.cxx")
4646
foreach(file ${files})
4747
if(ZENOHCXX_ZENOHC)
4848
# Exclude advanced pub-sub test if unstable features are disabled

tests/universal/network/pub_sub.cxx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,6 @@ void publisher_get_keyexpr() {
234234
}
235235

236236
int main(int argc, char** argv) {
237-
#ifdef ZENOHCXX_ZENOHC
238-
init_log_from_env_or("error");
239-
#endif
240237
test_with_alloc<CommonAllocator>();
241238
#if defined Z_FEATURE_SHARED_MEMORY && defined Z_FEATURE_UNSTABLE_API
242239
test_with_alloc<SHMAllocator>();

0 commit comments

Comments
 (0)