1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Skip DNN features test on 32-bit platforms as they time-to-time do not feet 2GB RAM.

This commit is contained in:
Alexander Smorkalov
2026-07-06 10:03:24 +03:00
parent bbfe2eb0de
commit 854cf4225d
@@ -22,7 +22,9 @@ static void skipIfClassicDnnEngine()
TEST(Features2d_ALIKED, Regression)
{
applyTestTag( CV_TEST_TAG_MEMORY_2GB);
skipIfClassicDnnEngine();
const std::string modelPath = cvtest::findDataFile("dnn/onnx/models/aliked-n16rot-top1k-640.onnx", false);
Ptr<ALIKED> aliked = ALIKED::create(modelPath);
@@ -85,7 +87,9 @@ TEST(Features2d_ALIKED, Regression)
TEST(Features2d_LightGlue, Regression)
{
applyTestTag( CV_TEST_TAG_MEMORY_2GB);
skipIfClassicDnnEngine();
const std::string alikedPath = cvtest::findDataFile("dnn/onnx/models/aliked-n16rot-top1k-640.onnx", false);
const std::string lgPath = cvtest::findDataFile("dnn/onnx/models/aliked_lightglue.onnx", false);