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
path: root/tests
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2017-08-26 17:51:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-08-26 17:51:54 +0300
commit79111f92463c05f05d3765bff2b3c15b56df0731 (patch)
tree9e6b42e316e802acbbbe486b8eb2d946f373c850 /tests
parentae04e27bfa579d04c0c78705e1aa57f57f309fd1 (diff)
parent7e43210edbd9ff3148f9564a9c90d0687dde9363 (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'tests')
-rwxr-xr-xtests/python/cycles_render_tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/python/cycles_render_tests.py b/tests/python/cycles_render_tests.py
index d4e796f35ae..ba4c04f7cf3 100755
--- a/tests/python/cycles_render_tests.py
+++ b/tests/python/cycles_render_tests.py
@@ -154,6 +154,9 @@ class Report:
def output(self):
# write intermediate data for single test
outdir = os.path.join(OUTDIR, self.testname)
+ if not os.path.exists(outdir):
+ os.makedirs(outdir)
+
f = open(os.path.join(outdir, "failed.data"), "w")
f.write(self.failed_tests)
f.close()