diff --git a/modules/gapi/test/common/gapi_core_tests_inl.hpp b/modules/gapi/test/common/gapi_core_tests_inl.hpp index 2a34fbef66..b2cdf891c9 100644 --- a/modules/gapi/test/common/gapi_core_tests_inl.hpp +++ b/modules/gapi/test/common/gapi_core_tests_inl.hpp @@ -1297,7 +1297,11 @@ TEST_P(PhaseTest, AccuracyTest) // Comparison ////////////////////////////////////////////////////////////// // FIXME: use a comparison functor instead (after enabling OpenCL) { +#if defined(__aarch64__) || defined(__arm__) + EXPECT_NEAR(0, cvtest::norm(out_mat_ocv, out_mat_gapi, NORM_INF), 4e-6); +#else EXPECT_EQ(0, cvtest::norm(out_mat_ocv, out_mat_gapi, NORM_INF)); +#endif } }