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:
Diffstat (limited to 'tests/performance/tests/cycles.py')
-rw-r--r--tests/performance/tests/cycles.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/performance/tests/cycles.py b/tests/performance/tests/cycles.py
index 185d4e8e6c0..f79e7333458 100644
--- a/tests/performance/tests/cycles.py
+++ b/tests/performance/tests/cycles.py
@@ -3,6 +3,7 @@
import api
import os
+
def _run(args):
import bpy
import time
@@ -39,6 +40,7 @@ def _run(args):
return None
+
class CyclesTest(api.Test):
def __init__(self, filepath):
self.filepath = filepath
@@ -74,6 +76,7 @@ class CyclesTest(api.Test):
raise Exception("Error parsing render time output")
+
def generate(env):
filepaths = env.find_blend_files('cycles-x/*')
return [CyclesTest(filepath) for filepath in filepaths]