Merge pull request #29754 from intel-staging:dev/tizmajlo/19678-fix

gapi(test): narrow down failure condition to GCC 11.0 - 11.1
This commit is contained in:
Alexander Smorkalov
2026-08-21 09:01:22 +03:00
committed by GitHub

View File

@@ -359,9 +359,9 @@ TYPED_TEST_CASE_P(cancel);
TYPED_TEST_P(cancel, basic)
{
#if defined(__GNUC__) && __GNUC__ == 11
#if defined(__GNUC__) && __GNUC__ == 11 && __GNUC_MINOR__ < 2
// std::vector<TypeParam> requests can't handle type with ctor parameter (SelfCanceling)
FAIL() << "Test code is not available due to compilation error with GCC 11";
FAIL() << "Test code is not available due to compilation error with GCC 11.0 - 11.1";
#else
constexpr int num_tasks = 100;
cancel_struct cancel_struct_ {num_tasks};