[graphics/krita] 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 ab9caaba4031a1987de19c6d01ff76a644a20132 by Dmitry Kazakov.
Committed on 17/07/2026 at 11:02.
Pushed by dkazakov into branch 'master'.
[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/ab9caaba4031a1987de19c6d01ff76a644a20132
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);
}