meta-openembedded/meta-oe/recipes-support/asio/asio/0001-tests-Remove-blocking_adaptation.cpp.patch
Mingli Yu 0f62cbb7d7
asio: Add ptest support
# ./run-ptest
PASS: address
PASS: address_v4
PASS: address_v4_iterator
PASS: address_v4_range
PASS: address_v6
PASS: address_v6_iterator
PASS: address_v6_range
PASS: any_completion_executor
PASS: any_completion_handler
PASS: any_executor
PASS: any_io_executor
PASS: append
PASS: as_tuple
PASS: associated_allocator
PASS: associated_cancellation_slot
PASS: associated_executor
PASS: associated_immediate_executor
PASS: associator
PASS: async_result
[snip]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-10 12:53:49 -07:00

38 lines
1.4 KiB
Diff

From 7d76513b82a67e117d195a1b5a0d6c2e8591488b Mon Sep 17 00:00:00 2001
From: Mingli Yu <mingli.yu@windriver.com>
Date: Thu, 10 Oct 2024 13:58:38 +0800
Subject: [PATCH] tests: Remove blocking_adaptation.cpp
The test failed to build with clang as below.
../../../asio-1.30.2/src/tests/../../include/asio/execution/blocking_adaptation.hpp:216:13: error: call to 'query' is ambiguous
216 | conditional_t<true, T, P>::query(static_cast<P&&>(p))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../asio-1.30.2/src/tests/../../include/asio/execution/blocking_adaptation.hpp:213:29: note: in instantiation of exception specification for 'query<asio::execution::detail::blocking_adaptation::allowed_t<>>' requested here
213 | static constexpr auto query(P&& p)
|
We can add the case back once the above build failure resolved then.
Upstream-Status: Pending
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
src/tests/Makefile.am | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am
index 04f8a03..eab2d56 100644
--- a/src/tests/Makefile.am
+++ b/src/tests/Makefile.am
@@ -68,7 +68,6 @@ check_PROGRAMS = \
unit/error \
unit/execution/any_executor \
unit/execution/blocking \
- unit/execution/blocking_adaptation \
unit/execution/context_as \
unit/execution/executor \
unit/execution/invocable_archetype \
--
2.34.1