Commit 5830646d authored by Boudewijn Rempt's avatar Boudewijn Rempt

Try to make the kis_tiff_test run on Jenkins

No need to assert if a certain profile cannot be found; we can
disregard that and handle not getting a colorspace back.
parent 32f46f79
......@@ -484,8 +484,6 @@ const KoColorSpace * KoColorSpaceRegistry::Private::colorSpace1(const QString &c
const KoColorProfile *profile =
profileForCsIdWithFallbackImpl(csID, profileName);
// until kis_asert.h is not available in 3.1, use this combo
if (!profile) return 0;
cs = lazyCreateColorSpaceImpl(csID, profile);
......@@ -120,9 +120,10 @@ void KisTiffTest::testRoundTripRGBF16()
void KisTiffTest::testSaveTiffColorSpace(QString colorModel, QString colorDepth, QString colorProfile)
KoColorSpaceRegistry registry;
const KoColorSpace *space = KoColorSpaceRegistry::instance()->colorSpace(colorModel, colorDepth, colorProfile);
if (space) {
TestUtil::testExportToColorSpace(QString(FILES_DATA_DIR), TiffMimetype, space, ImportExportCodes::OK, true);
void KisTiffTest::testSaveTiffRgbaColorSpace()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment