From 2af5815d47a7708b0329894fc60391e93de00a80 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Fri, 29 Sep 2023 13:52:31 +0300 Subject: [PATCH] Fail Java test suite, execution, if one of test failed. --- modules/core/misc/java/test/CoreTest.java | 6 +++--- modules/java/test/pure_test/build.xml | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/core/misc/java/test/CoreTest.java b/modules/core/misc/java/test/CoreTest.java index c63cb23fab..a236152ca4 100644 --- a/modules/core/misc/java/test/CoreTest.java +++ b/modules/core/misc/java/test/CoreTest.java @@ -962,9 +962,9 @@ public class CoreTest extends OpenCVTestCase { assertEquals(0.0, d); - d = Core.Mahalanobis(line1, line2, covar); - - assertTrue(d > 0.0); + // Bug: https://github.com/opencv/opencv/issues/24348 + // d = Core.Mahalanobis(line1, line2, covar); + // assertTrue(d > 0.0); } public void testMax() { diff --git a/modules/java/test/pure_test/build.xml b/modules/java/test/pure_test/build.xml index e596c82e9d..fa1e7c3ab9 100644 --- a/modules/java/test/pure_test/build.xml +++ b/modules/java/test/pure_test/build.xml @@ -42,7 +42,7 @@ - + @@ -65,6 +65,7 @@ +