Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-28 15:09:42 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-28 15:09:42 +0300
commit6dd047c333081e45a99119daaf2e9965471e05e2 (patch)
treef7e5cb6a0c7e15fc4662a55e30202cefcf87b983 /tests/python/modules
parentb030277e791e429e8f8de90316144830eda6bbf8 (diff)
Tests: recurse into directories for finding OpenGL draw test .blends.
Diffstat (limited to 'tests/python/modules')
-rwxr-xr-xtests/python/modules/render_report.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/python/modules/render_report.py b/tests/python/modules/render_report.py
index 6c71e8dcb74..ebfc58997c0 100755
--- a/tests/python/modules/render_report.py
+++ b/tests/python/modules/render_report.py
@@ -51,10 +51,11 @@ def print_message(message, type=None, status=''):
def blend_list(dirpath):
- for filename in os.listdir(dirpath):
- if filename.lower().endswith(".blend"):
- filepath = os.path.join(dirpath, filename)
- yield filepath
+ for root, dirs, files in os.walk(dirpath):
+ for filename in files:
+ if filename.lower().endswith(".blend"):
+ filepath = os.path.join(root, filename)
+ yield filepath
def test_get_name(filepath):