Test: glTF: check recursively on input directories

This is a preparation for getting Khronos Tests done on Blender tests

Pull Request: https://projects.blender.org/blender/blender/pulls/150594
This commit is contained in:
Julien Duroure 2025-11-25 18:33:54 +01:00 • committed by Julien Duroure
parent 6e463873f3
commit bb34238209
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ class GLTFExportTest(unittest.TestCase):
cls.output_dir = args.outdir
def test_export_gltf(self):
input_files = sorted(pathlib.Path(self.testdir).glob("*.blend"))
input_files = sorted(pathlib.Path(self.testdir).rglob("*.blend"))
self.passed_tests = []
self.failed_tests = []
self.updated_tests = []

View file

@ -29,7 +29,7 @@ class GLTFRoundtripTest(unittest.TestCase):
cls.output_dir = args.outdir
def test_roundtrip_gltf(self):
input_files = sorted(pathlib.Path(self.testdir).glob("*.gltf"))
input_files = sorted(pathlib.Path(self.testdir).rglob("*.gltf"))
self.passed_tests = []
self.failed_tests = []
self.updated_tests = []