From e0e52c14b183ad19817d872787d2bd8e5e199261 Mon Sep 17 00:00:00 2001 From: Varun Jaiswal Date: Wed, 29 Jul 2026 20:38:18 +0530 Subject: [PATCH] restrict skip to windows 32 only --- modules/dnn/test/test_backends.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/dnn/test/test_backends.cpp b/modules/dnn/test/test_backends.cpp index 57bf38f935..dc6d04c006 100644 --- a/modules/dnn/test/test_backends.cpp +++ b/modules/dnn/test/test_backends.cpp @@ -125,9 +125,11 @@ TEST_P(DNNTestNetwork, AlexNet) { applyTestTag(CV_TEST_TAG_MEMORY_1GB); // fc6 needs one contiguous 9216*4096*4 = 144 MiB block, which does not fit - // reliably in the 2 GB user address space of a 32-bit process on any target. + // reliably in the 2 GB user address space of a 32-bit process on Windows. +#ifdef _WIN32 if (sizeof(void*) == 4) - throw SkipTestException("Skip memory-heavy network on 32-bit (x86) platform"); + throw SkipTestException("Skip memory-heavy network on 32-bit (x86) Windows platform"); +#endif processNet("dnn/onnx/models/alexnet.onnx", "", Size(227, 227)); expectNoFallbacksFromIE(net); expectNoFallbacksFromCUDA(net);