From 9372fa879aa3ffc81f93e40c3c1cac777b4430c0 Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 1 Apr 2020 14:10:57 +0100 Subject: [PATCH] Don't allow PNG files to fail to open in Texture_Zoo test --- util/test/rdtest/shared/Texture_Zoo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/test/rdtest/shared/Texture_Zoo.py b/util/test/rdtest/shared/Texture_Zoo.py index 05f48012a..507a139d2 100644 --- a/util/test/rdtest/shared/Texture_Zoo.py +++ b/util/test/rdtest/shared/Texture_Zoo.py @@ -443,8 +443,8 @@ class Texture_Zoo(): status, self.controller = ret # Some packed formats can't be opened, allow that - if status == rd.ReplayStatus.ImageUnsupported: - rdtest.log.comment("Couldn't open {} - unsupported".format(file.name)) + if status == rd.ReplayStatus.ImageUnsupported and 'dds' in file.name: + rdtest.log.print("Couldn't open {} - unsupported".format(file.name)) continue if status != rd.ReplayStatus.Succeeded: