代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/cppzmq 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
diff -Naur cppzmq-4.9.0_org/tests/buffer.cpp cppzmq-4.9.0/tests/buffer.cpp
--- cppzmq-4.9.0_org/tests/buffer.cpp 2023-04-28 20:39:19.847637133 +0800
+++ cppzmq-4.9.0/tests/buffer.cpp 2023-04-28 20:40:22.307761489 +0800
@@ -1,4 +1,4 @@
-#include <catch2/catch.hpp>
+#include <catch2/catch_all.hpp>
#include <zmq.hpp>
#ifdef ZMQ_CPP17
diff -Naur cppzmq-4.9.0_org/tests/CMakeLists.txt cppzmq-4.9.0/tests/CMakeLists.txt
--- cppzmq-4.9.0_org/tests/CMakeLists.txt 2023-04-28 20:39:19.847637133 +0800
+++ cppzmq-4.9.0/tests/CMakeLists.txt 2023-04-28 22:46:00.142119663 +0800
@@ -35,7 +35,7 @@
target_include_directories(unit_tests PUBLIC ${CATCH_MODULE_PATH})
target_link_libraries(
unit_tests
- PRIVATE Catch2::Catch2
+ PRIVATE Catch2::Catch2WithMain
PRIVATE cppzmq
PRIVATE ${CMAKE_THREAD_LIBS_INIT}
)
diff -Naur cppzmq-4.9.0_org/tests/codec_multipart.cpp cppzmq-4.9.0/tests/codec_multipart.cpp
--- cppzmq-4.9.0_org/tests/codec_multipart.cpp 2023-04-28 20:39:19.847637133 +0800
+++ cppzmq-4.9.0/tests/codec_multipart.cpp 2023-04-28 20:40:22.306761487 +0800
@@ -1,4 +1,4 @@
-#include <catch2/catch.hpp>
+#include <catch2/catch_all.hpp>
#include <zmq_addon.hpp>
#ifdef ZMQ_CPP11
diff -Naur cppzmq-4.9.0_org/tests/context.cpp cppzmq-4.9.0/tests/context.cpp
--- cppzmq-4.9.0_org/tests/context.cpp 2023-04-28 20:39:19.847637133 +0800
+++ cppzmq-4.9.0/tests/context.cpp 2023-04-28 20:40:22.308761491 +0800
@@ -1,4 +1,4 @@
-#include <catch2/catch.hpp>
+#include <catch2/catch_all.hpp>
#include <zmq.hpp>
#if (__cplusplus >= 201703L)
diff -Naur cppzmq-4.9.0_org/tests/message.cpp cppzmq-4.9.0/tests/message.cpp
--- cppzmq-4.9.0_org/tests/message.cpp 2023-04-28 20:39:19.847637133 +0800
+++ cppzmq-4.9.0/tests/message.cpp 2023-04-28 20:40:22.308761491 +0800
@@ -1,5 +1,5 @@
#define CATCH_CONFIG_MAIN
-#include <catch2/catch.hpp>
+#include <catch2/catch_all.hpp>
#include <zmq.hpp>
#if defined(ZMQ_CPP11)
diff -Naur cppzmq-4.9.0_org/tests/multipart.cpp cppzmq-4.9.0/tests/multipart.cpp
--- cppzmq-4.9.0_org/tests/multipart.cpp 2023-04-28 20:39:19.847637133 +0800
+++ cppzmq-4.9.0/tests/multipart.cpp 2023-04-28 20:40:22.307761489 +0800
@@ -1,4 +1,4 @@
-#include <catch2/catch.hpp>
+#include <catch2/catch_all.hpp>
#include <zmq_addon.hpp>
#ifdef ZMQ_HAS_RVALUE_REFS
diff -Naur cppzmq-4.9.0_org/tests/recv_multipart.cpp cppzmq-4.9.0/tests/recv_multipart.cpp
--- cppzmq-4.9.0_org/tests/recv_multipart.cpp 2023-04-28 20:39:19.847637133 +0800
+++ cppzmq-4.9.0/tests/recv_multipart.cpp 2023-04-28 20:40:22.306761487 +0800
@@ -1,4 +1,4 @@
-#include <catch2/catch.hpp>
+#include <catch2/catch_all.hpp>
#include <zmq_addon.hpp>
#ifdef ZMQ_CPP11
diff -Naur cppzmq-4.9.0_org/tests/send_multipart.cpp cppzmq-4.9.0/tests/send_multipart.cpp
--- cppzmq-4.9.0_org/tests/send_multipart.cpp 2023-04-28 20:39:19.847637133 +0800
+++ cppzmq-4.9.0/tests/send_multipart.cpp 2023-04-28 20:40:22.306761487 +0800
@@ -1,4 +1,4 @@
-#include <catch2/catch.hpp>
+#include <catch2/catch_all.hpp>
#include <zmq_addon.hpp>
#ifdef ZMQ_CPP11
diff -Naur cppzmq-4.9.0_org/tests/socket.cpp cppzmq-4.9.0/tests/socket.cpp
--- cppzmq-4.9.0_org/tests/socket.cpp 2023-04-28 20:39:19.847637133 +0800
+++ cppzmq-4.9.0/tests/socket.cpp 2023-04-28 20:40:22.305761485 +0800
@@ -1,4 +1,4 @@
-#include <catch2/catch.hpp>
+#include <catch2/catch_all.hpp>
#include <zmq.hpp>
#ifdef ZMQ_CPP11
#include <future>
diff -Naur cppzmq-4.9.0_org/tests/socket_ref.cpp cppzmq-4.9.0/tests/socket_ref.cpp
--- cppzmq-4.9.0_org/tests/socket_ref.cpp 2023-04-28 20:39:19.847637133 +0800
+++ cppzmq-4.9.0/tests/socket_ref.cpp 2023-04-28 20:40:22.308761491 +0800
@@ -1,4 +1,4 @@
-#include <catch2/catch.hpp>
+#include <catch2/catch_all.hpp>
#include <zmq.hpp>
#ifdef ZMQ_CPP11
diff -Naur cppzmq-4.9.0_org/tests/testutil.hpp cppzmq-4.9.0/tests/testutil.hpp
--- cppzmq-4.9.0_org/tests/testutil.hpp 2023-04-28 20:39:19.847637133 +0800
+++ cppzmq-4.9.0/tests/testutil.hpp 2023-04-28 20:40:22.307761489 +0800
@@ -1,6 +1,6 @@
#pragma once
-#include <catch2/catch.hpp>
+#include <catch2/catch_all.hpp>
#include <zmq.hpp>
#if defined(ZMQ_CPP11)
diff -Naur cppzmq-4.9.0_org/tests/utilities.cpp cppzmq-4.9.0/tests/utilities.cpp
--- cppzmq-4.9.0_org/tests/utilities.cpp 2023-04-28 20:39:19.847637133 +0800
+++ cppzmq-4.9.0/tests/utilities.cpp 2023-04-28 20:40:22.308761491 +0800
@@ -1,4 +1,4 @@
-#include <catch2/catch.hpp>
+#include <catch2/catch_all.hpp>
#include <zmq.hpp>
#if defined(ZMQ_CPP11) && !defined(ZMQ_CPP11_PARTIAL)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。