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:
authorSergey Sharybin <sergey@blender.org>2022-11-10 12:29:00 +0300
committerSergey Sharybin <sergey@blender.org>2022-11-10 13:04:30 +0300
commit3153bd0f5d25ae651896c0105dea295d71a2eade (patch)
treeca6d682d92d4e4f912d309c63e1775d86da2fd21 /tests/python/bl_io_curve_svg_test.py
parent2a6a492a82eb4937834b8f110f0479cbe8eb2708 (diff)
SVG: Add more sophisticated test suit
This test suit tests SVG on a big files, as opposite of testing one specific aspect of the standard by atomic files.
Diffstat (limited to 'tests/python/bl_io_curve_svg_test.py')
-rw-r--r--tests/python/bl_io_curve_svg_test.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/python/bl_io_curve_svg_test.py b/tests/python/bl_io_curve_svg_test.py
index 092dfa5497a..f36036a5b52 100644
--- a/tests/python/bl_io_curve_svg_test.py
+++ b/tests/python/bl_io_curve_svg_test.py
@@ -50,7 +50,10 @@ def main():
from modules import render_report
report = render_report.Report('IO Curve SVG', output_dir, idiff)
report.set_pixelated(True)
- print(test_dir)
+
+ test_dir_name = Path(test_dir).name
+ if test_dir_name == 'complex':
+ report.set_fail_percent(0.01)
ok = report.run(test_dir, blender, get_arguments, batch=True)