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.
This commit is contained in:
2022-11-10 10:29:00 +01:00
parent 2a6a492a82
commit 3153bd0f5d
3 changed files with 8 additions and 2 deletions

View File

@@ -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)