[graphics/krita/krita/6.0] libs/flake/tests: [TestSvgParser] Keep QEXPECT_FAIL for the basic case without round-trip

Dmitry Kazakov <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit e0e37e6c04f17bb5f2f1ada417f82b02acb2e1cf by Dmitry Kazakov.
Committed on 17/07/2026 at 11:17.
Pushed by dkazakov into branch 'krita/6.0'.

[TestSvgParser] Keep QEXPECT_FAIL for the basic case without round-trip

M  +8    -0    libs/flake/tests/TestSvgParser.cpp

https://invent.kde.org/graphics/krita/-/commit/e0e37e6c04f17bb5f2f1ada417f82b02acb2e1cf

diff --git a/libs/flake/tests/TestSvgParser.cpp b/libs/flake/tests/TestSvgParser.cpp
index a987c57b5f0..154cd1149c7 100644
--- a/libs/flake/tests/TestSvgParser.cpp
+++ b/libs/flake/tests/TestSvgParser.cpp
@@ -1418,7 +1418,11 @@ void TestSvgParser::testRenderFillLinearGradientTransparent()
 
     SvgRenderTester t(data);
     t.setCheckQImagePremultiplied(true);
+#if defined USE_ROUND_TRIP || defined USE_CLONED_SHAPES
     QSKIP("TODO: Krita forces all gradients to work in premultiplied space, which is against SVG spec");
+#else
+    QEXPECT_FAIL("", "TODO: Krita forces all gradients to work in premultiplied space, which is against SVG spec", Abort);
+#endif
     t.test_standard_30px_72ppi("fill_gradient_transparent", false);
 }
 
@@ -1486,7 +1490,11 @@ void TestSvgParser::testRenderFillRadialGradientTransparent()
     SvgRenderTester t(data);
     t.setFuzzyThreshold(1);
     t.setCheckQImagePremultiplied(true);
+#if defined USE_ROUND_TRIP || defined USE_CLONED_SHAPES
     QSKIP("TODO: Krita forces all gradients to work in premultiplied space, which is against SVG spec");
+#else
+    QEXPECT_FAIL("", "TODO: Krita forces all gradients to work in premultiplied space, which is against SVG spec", Abort);
+#endif
     t.test_standard_30px_72ppi("fill_gradient_radial_transparent", false);
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.