MCPcopy Create free account
hub / github.com/blender/blender / create_argparse

Function create_argparse

tests/python/workbench_render_tests.py:86–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84
85
86def create_argparse():
87 parser = argparse.ArgumentParser(
88 description="Run test script for each blend file in TESTDIR, comparing the render result with known output."
89 )
90 parser.add_argument("--blender", required=True)
91 parser.add_argument("--testdir", required=True)
92 parser.add_argument("--outdir", required=True)
93 parser.add_argument("--oiiotool", required=True)
94 parser.add_argument('--batch', default=False, action='store_true')
95 parser.add_argument('--gpu-backend')
96 return parser
97
98
99def main():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected